Share via


MemberGroupData.SourceReference property

Gets or sets the reference used to distinguish the various membership groups within the source identified by SourceInternal for the member group.

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

Syntax

'Declaration
Public Property SourceReference As String
    Get
    Set
'Usage
Dim instance As MemberGroupData
Dim value As String

value = instance.SourceReference

instance.SourceReference = value
public string SourceReference { get; set; }

Property value

Type: System.String
The source reference for a member group.

Remarks

The membership source uses the SourceReference property to uniquely reference the group. For example, the membership source reference for the Active Directory directory service is the distinguished name. For SharePoint Server sites, it is the site ID.

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

For more information about types of membership groups, 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

MemberGroupData class

MemberGroupData members

WebSvcUserProfileService namespace