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: [UserProfileService Web service]
Web service reference: http://Site/_vti_bin/UserProfileService.asmx
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 Microsoft SharePoint Server 2010 sites, it is the site ID.
The source type of a membership can be a distribution list, a SharePoint Server 2010 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.