Share via


MembershipManager.GetCommonMemberships method

Returns the common memberships the current user shares with the user profiles.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public Function GetCommonMemberships As MemberGroup()
'Usage
Dim instance As MembershipManager
Dim returnValue As MemberGroup()

returnValue = instance.GetCommonMemberships()
public MemberGroup[] GetCommonMemberships()

Return value

Type: []
An array of MemberGroup objects that represent the common membership groups.

See also

Reference

MembershipManager class

MembershipManager members

Microsoft.Office.Server.UserProfiles namespace