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 or sets the memberships for the user profile.
Namespace: [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx
Syntax
'Declaration
Public Property Memberships As MembershipData()
Get
Set
'Usage
Dim instance As GetUserProfileByIndexResult
Dim value As MembershipData()
value = instance.Memberships
instance.Memberships = value
public MembershipData[] Memberships { get; set; }
Property Value
Type: []
The memberships for the user profile.
Remarks
For more information about types of membership group and membership data, see Memberships Overview and the MembershipData Web service. For a code example that shows how to create a new member group and add a member to the newly created group, see How to: Create Memberships.
See Also
Reference
GetUserProfileByIndexResult Class