1

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

1

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)
| improve this answer | |
0

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=..."
| improve this answer | |
  • This will only work with Active directory, which the OP says he does not have. – Sam Cogan 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 Cogan 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 clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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