Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm running Windows Sharepoint Services on server 2008. It's not connected to an AD so I'm using local users on the machine.

When inside SharePoint and browsing for users I see all users, can I restrict this so that a given user sees only users in a given group?

Hope that makes sense


share|improve this question

You should be able to use the peoplepicker-searchadcustomfilter property setter to create a customer filter for the people picker. Details on its use can be found here.

For example, you could filter it on the users email:

stsadm -o setproperty -url http://sharepoint/sites 
-pn peoplepicker-searchadcustomfilter -pv (mail=*
share|improve this answer

Check out this link:

Filtering Active Directory Accounts from People Picker

Also, the following command can also be used:

stsadm -o setsiteuseraccountdirectorypath -path "ou=...., dc=..."
share|improve this answer
This will only work with Active directory, which the OP says he does not have. – Sam Jul 7 '09 at 9:43
The first link is the same as your answer... – Colin Dekker Jul 7 '09 at 9:46
true, hadn't seen that, but the command you give could cause confusion as its only useful for AD installations – Sam Jul 7 '09 at 9:48
Jsut added the second one for completeness – Colin Dekker Jul 7 '09 at 9:51
So are we saying this could be used as a solution? :) – Kieran Jul 7 '09 at 11:23

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.