InCommonData.Memberships property
Gets or sets the common memberships that two user profiles share.
Namespace: WebSvcUserProfileService
Assembly: UserProfileServices (in UserProfileServices.dll)
Syntax
'Declaration
Public Property Memberships As MembershipData()
Get
Set
'Usage
Dim instance As InCommonData
Dim value As MembershipData()
value = instance.Memberships
instance.Memberships = value
public MembershipData[] Memberships { get; set; }
Property value
Type: []
The common memberships that two user profiles share.
Remarks
For more information about types of membership groups and membership data, see Memberships Overview and the MembershipData Web service.
For a code example about how to use the User Profile Web service to find the common manager, common memberships, and common contacts in user profiles, see How to: Use the Web Service to Find What's Common Between Two User Profiles. 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.