Share via


InCommonData.Memberships Property

Gets or sets the common memberships that the two user profiles share.

Namespace:  websvcUserProfileService
Assembly:  MOSSSOAP (in MOSSSOAP.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 the 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 retrieve a user's property data and membership, link, and colleague information, 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.

See Also

Reference

InCommonData Class

InCommonData Members

websvcUserProfileService Namespace