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