UserProfile.Memberships property

Gets a MembershipManager object that enables you to access and modify this user's group memberships.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public ReadOnly Property Memberships As MembershipManager
    Get
'Usage
Dim instance As UserProfile
Dim value As MembershipManager

value = instance.Memberships
public MembershipManager Memberships { get; }

Property value

Type: Microsoft.Office.Server.UserProfiles.MembershipManager
A MembershipManager object that enables you to access and modify this user's group memberships.

See also

Reference

UserProfile class

UserProfile members

Microsoft.Office.Server.UserProfiles namespace