Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

2 Answers 2

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)
share|improve this answer
add comment

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
show 2 more comments

Your Answer

 
discard

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.