다음을 통해 공유


InCommonData.Memberships Property

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

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 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.

See Also

Reference

InCommonData Class

InCommonData Members

UserProfileService Web Service