SharePoint LDAP filtering of People Picker users -


On my WSS server I've run the following stsadm command to filter the results that people take:

< P> stsadm .exe -o setproperty -url -pn "peoplepicker-searchadcu stomfilter" -pv "(memberoff = cn = SharePoint, OU = AccessGroups, DC = contosio, DC = local)"

My WSS All of the sites are all used by different groups of users.

Whenever I create a new site collection in WSS, I want to make sure that I can filter people to show only relevant users for that group - I can automate it Or would I have to do something like the stsadm command manually?

All the best

You can apply an SP WebProvisioningProvider This piece of code , Which can be run when creating a new site (based on a specific site definition).

You must ensure that your site collection root is appropriate site definition.

You will either need both to apply your stsadm call using the object model, or to wrap the call in that specific call to some custom code.


Comments

Popular posts from this blog

c# - ListView onScroll event -

PHP - get image from byte array -

Linux Terminal Problem with Non-Canonical Terminal I/O app -