Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the number of members in a particular member group.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetAllMemberships As Membership()
'Usage
Dim instance As MemberGroup
Dim returnValue As Membership()
returnValue = instance.GetAllMemberships()
public Membership[] GetAllMemberships()
Return Value
Type: []
An array of members in a particular member group.
Remarks
For more information about types of membership groups, see Memberships Overview. For a code example about how to create a member group and add a member to the newly created group, see How to: Create Memberships.