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 privacy level and sorting.
Namespace: Microsoft.Office.Server.UserProfiles
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Syntax
'Declaration
Public Function GetItems ( _
privacyLevel As Privacy, _
sortType As MembershipSortType _
) As Membership()
'Usage
Dim instance As MembershipManager
Dim privacyLevel As Privacy
Dim sortType As MembershipSortType
Dim returnValue As Membership()
returnValue = instance.GetItems(privacyLevel, _
sortType)
public Membership[] GetItems(
Privacy privacyLevel,
MembershipSortType sortType
)
Parameters
privacyLevel
Type: Microsoft.Office.Server.UserProfiles.PrivacyA Privacy value that specifies the privacy level of the memberships.
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.