Membership Class
Represents a single user's membership in a single member group.
System.Object
Microsoft.Office.Server.UserProfiles.PrivacyItem
Microsoft.Office.Server.UserProfiles.Membership
Microsoft.Office.Server.UserProfiles.PrivacyItem
Microsoft.Office.Server.UserProfiles.Membership
Assembly: Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)
Membership is a first-class object in the UserProfiles object model. You can get to the memberships from the UserProfile object.
For more information about types of membership groups, see Memberships Overview. For a code example about how to create a member group and add a member to the newly created group, see How to: Create Memberships.