Share via


UserProfileMembershipChange.SourceReference property

Gets the membership source unique reference for the member group.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server.UserProfiles (in Microsoft.Office.Server.UserProfiles.dll)

Syntax

'Declaration
Public ReadOnly Property SourceReference As String
    Get
'Usage
Dim instance As UserProfileMembershipChange
Dim value As String

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

Property value

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

Remarks

The SourceReference property is used by the membership source to uniquely reference the group. For example, the membership source unique reference for Microsoft Active Directory is the distinguished name, and for SharePoint sites, it is the ID.

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

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

UserProfileMembershipChange class

UserProfileMembershipChange members

Microsoft.Office.Server.UserProfiles namespace