Compartilhar 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