MemberGroup.GetAllMemberships MemberGroup.GetAllMemberships MemberGroup.GetAllMemberships Method

Definition

Gets the number of members in a particular member group.

public:
 cli::array <Microsoft::Office::Server::UserProfiles::Membership ^> ^ GetAllMemberships();
public Microsoft.Office.Server.UserProfiles.Membership[] GetAllMemberships ();
Public Function GetAllMemberships () As Membership()
Returns

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.

Applies to