Configure People picker to….

Using the Stsadm command-line tool, we can configure the People Picker to display only users that are members of the site collection.

By this configuration, you can add any user from the directory if you know the user name; however, only users that are already added to the site collection are displayed in the People Picker.

The following command turns this configuration on:

Stsadm.exe -o setproperty -url http://server -pn "peoplepicker-onlysearchwithinsitecollection" -pv yes

and this turns the configuration off:

Stsadm.exe -o setproperty -url http://server -pn "peoplepicker-onlysearchwithinsitecollection" -pv no

This prevents partner users from browsing your user directory through the People Picker.  Good stuff…

Technorati Tags: ,,

November 19, 2009 · Rahul Desai · No Comments
Posted in: SharePoint, Tools, Tips & Utilities

Leave a Reply

You must be logged in to post a comment.