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.
Returns the user profile memberships with a specified sorting.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetItems ( _
sortType As MembershipSortType _
) As Membership()
'Usage
Dim instance As MembershipManager
Dim sortType As MembershipSortType
Dim returnValue As Membership()
returnValue = instance.GetItems(sortType)
public Membership[] GetItems(
MembershipSortType sortType
)
Parameters
sortType
Type: Microsoft.Office.Server.UserProfiles.MembershipSortTypeA MembershipSortType value that specifies how to sort the memberships.
Return Value
Type: []
An array of Membership objects that represent the memberships.