My organization has 2 domains. DomainA and DomainB are 2 separate forests with mutual trust.
When I use the SharePoint people picker the auto-complete displays user profiles from both domains.
I’m trying to restrict the SharePoint people picker to look in to a single domain, DomainB.
I tried using this script outline in this MS article, however the people picker still displays both profiles. "Restrict People Picker to a certain group in Active Directory"
stsadm -o setsiteuseraccountdirectorypath -path "OU=Sales,DC=DomainB,DC=local" -url http://sitecollection
stsadm
- it's soooo last year. Use this guide thesharepointfarm.com/2014/01/… – Paul Strupeikis Feb 2 '17 at 14:18