Cross Forest People Picker

To use peoplepicker-searchadforests with credentials, which you need to specify if you don’t have two-way trusts in place, you must first set an encryption key:

STSADM.exe -o setapppassword –password <encryptionpassword>

Then you need to specify an account for traversing the other domain and the web application that should be able to add users from that domain. You need to set the property for each web application you want to be able to traverse the other domain:

STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv domain:<domain which will be traversed>,<account with rights for traversing the domain>,<account password> -url <url for the webapp where you want to add users from the other domain – example: http://mywebapp>

Example

STSADM.exe -o setproperty -pn peoplepicker-searchadforests -pv domain:ProActive,ProActive\Abdel-Rahman.Awad,******* -url http://mywebapp


Digg This
Reddit This
Stumble Now!
Buzz This
Vote on DZone
Share on Facebook
Bookmark this on Delicious
Kick It on DotNetKicks.com
Shout it
Share on LinkedIn
Bookmark this on Technorati
Post on Twitter
Google Buzz (aka. Google Reader)

 

View Abdel-Rahman Awad's profile on LinkedIn

Archives

 

Rss Feed Tweeter button Facebook button Linkedin button Delicious button Digg button