Share via


UserProfileMembershipChange.SourceReference Property

Gets the membership source unique reference for the member group.

Namespace:  Microsoft.Office.Server.UserProfiles
Assembly:  Microsoft.Office.Server (in Microsoft.Office.Server.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