SPWebService.PeoplePickerSearchReplicatedMasterSIDPropertyName property

SharePoint 2013

Specifies which ActiveDirectory attribute the people picker control uses to represent a user's SID

Namespace:  Microsoft.SharePoint.Administration
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Public Property PeoplePickerSearchReplicatedMasterSIDPropertyName As String
Dim instance As SPWebService
Dim value As String

value = instance.PeoplePickerSearchReplicatedMasterSIDPropertyName

instance.PeoplePickerSearchReplicatedMasterSIDPropertyName = value

Property value

Type: System.String

When Active Directory is configured with multiple forests, a single user will be represented by a distinct user object in each forest, and each object will have a distinct security identifier (SID). By convention, Active Directory uses an additional attribute, msexchmasteraccountsid, to represent the single canonical SID for objects that are replicated. SharePoint needs a SID to represent the user for whom permissions are being set, and so by default will use the msexchmasteraccountsid attribute. In environments where an IT administrator wishes to use a different Active Directory attribute as the canonical SID, you can specify the name of that attribute in the PeoplePickerSearchReplicatedMasterSIDPropertyName property. When present, SharePoint will use the value of that property to determine the Active Directory attribute to query for canonical SID. Note that this property has no effect if PeoplePickerSearchInMultipleForests is set to False.