MembershipData.Source Property

Gets or sets the membership source.

Web Service: User ProfileWeb Reference: http://<Site>/_vti_bin/UserProfileService.asmx

Syntax

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

value = instance.Source

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

Property Value

The source for the membership.

Remarks

The source type of a membership can be a Distribution List, 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
User Profile Web Service