Share via


MembershipData.Source property

Gets or sets the source of members for the member group involved in the membership.

Namespace:  WebSvcUserProfileService
Assembly:  UserProfileServices (in UserProfileServices.dll)

Syntax

'Declaration
Public Property Source As MembershipSource
    Get
    Set
'Usage
Dim instance As MembershipData
Dim value As MembershipSource

value = instance.Source

instance.Source = value
public MembershipSource Source { get; set; }

Property value

Type: WebSvcUserProfileService.MembershipSource
The source of members for the member group involved in the membership.

Remarks

The source type of a membership can be a distribution list (DL), SharePoint site, or a custom membership source. For more information, see the MembershipSource enumeration.

For more information about memberships, 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.

See also

Reference

MembershipData class

MembershipData members

WebSvcUserProfileService namespace