Sunday, May 16, 2010

Set Domains for People Picker in SharePoint

I am currently working with one of the retail client where we have one requirement as below.

Client is having 4 different domains set for their different group of companies.
1) abc, 2) def, 3) uvw and 4) xyz.
Now client doesn't want a users from domain "uvw" to search by anyone (including site admin) in people picker.

Solution:
I have found a very good article by Joel Oleson @ set propery for people picker

you can use a command as "stsadm.exe -o setproperty -url http://server:port -pn "peoplepicker-searchadforests" -pv "forest:foo.corp.com;domain:bar.foo.corp.com", LoginName, Password"

No comments: