Thursday, 1 August 2013

SharePoint restrict people picker to a specific Active Directory OU Group

Another note to self here. If you want to restrict what appears in the SharePoint people picker to a specific OU in Active Directory you can using the following command:

 stsadm -o setsiteuseraccountdirectorypath -path "CN=Sales,DC=ContosoCorp,DC=local" –url http://server_name

A point of note is that it will not restrict users which are already in the site collection, only new users which are added.

More command details here:

http://technet.microsoft.com/en-us/library/cc263328(office.12).aspx

No comments:

Post a Comment