Pages

Tuesday, June 25, 2013

STSADM command for people picket for trusted domain users in sharepoint site


Today I have tried to search the trusted domain users account directly on the sharepoint People Picker in the sharepoint site but its not displaying in the people picker search page.
Finally found the following STSADM commands for set the people picker to pickup the trusted domain users in the sharepoint site.

Run below command for creating a credential key


stsadm -o setapppassword -password <password>


Run the below command for pickup the trusted domain in the search page.


stsadm -o setproperty -url <web application url> -pn peoplepicker-searchadforests -pv forest:<source forest>;domain:<trusted domain>,<trusted domain>\<account>,<password>