Faraz's tips and tricks on SharePoint and other technologies.
Tuesday, September 15, 2009
Setting the default Active Directory in SharePoint People Picker
If you need to specify a default Active Directory that a People Picker control should find users from - and not to use any other trusted domains in its search, here is a nifty stsadm command for the following.
"C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\12\BIN\stsadm" -o setsiteuseraccountdirectorypath -path "DC=www,DC=company,DC=com" -url https://[your site url here]