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

K

link|improve this question

20% accept rate
feedback

2 Answers

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=*@email.com)
link|improve this answer
feedback

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=..."
link|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
show 2 more comments
feedback

Your Answer

 
or
required, but never shown

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