MembershipManager.GetItems MembershipManager.GetItems MembershipManager.GetItems Method

Definition

Overloads

GetItems(MembershipSortType) GetItems(MembershipSortType) GetItems(MembershipSortType)

Returns the user profile memberships with a specified sorting.

GetItems(Privacy, MembershipSortType) GetItems(Privacy, MembershipSortType) GetItems(Privacy, MembershipSortType)

Returns the user profile memberships with a specified privacy level and sorting.

GetItems(MembershipSortType) GetItems(MembershipSortType) GetItems(MembershipSortType)

Returns the user profile memberships with a specified sorting.

public:
 cli::array <Microsoft::Office::Server::UserProfiles::Membership ^> ^ GetItems(Microsoft::Office::Server::UserProfiles::MembershipSortType sortType);
public Microsoft.Office.Server.UserProfiles.Membership[] GetItems (Microsoft.Office.Server.UserProfiles.MembershipSortType sortType);
Public Function GetItems (sortType As MembershipSortType) As Membership()
Parameters
sortType
MembershipSortType MembershipSortType MembershipSortType

A MembershipSortType value that specifies how to sort the memberships.

Returns

An array of Membership objects that represent the memberships.

GetItems(Privacy, MembershipSortType) GetItems(Privacy, MembershipSortType) GetItems(Privacy, MembershipSortType)

Returns the user profile memberships with a specified privacy level and sorting.

public:
 cli::array <Microsoft::Office::Server::UserProfiles::Membership ^> ^ GetItems(Microsoft::Office::Server::UserProfiles::Privacy privacyLevel, Microsoft::Office::Server::UserProfiles::MembershipSortType sortType);
public Microsoft.Office.Server.UserProfiles.Membership[] GetItems (Microsoft.Office.Server.UserProfiles.Privacy privacyLevel, Microsoft.Office.Server.UserProfiles.MembershipSortType sortType);
Public Function GetItems (privacyLevel As Privacy, sortType As MembershipSortType) As Membership()
Parameters
privacyLevel
Privacy Privacy Privacy

A Privacy value that specifies the privacy level of the memberships.

sortType
MembershipSortType MembershipSortType MembershipSortType

A MembershipSortType value that specifies how to sort the memberships.

Returns

An array of Membership objects that represent the memberships.

Applies to