views:

180

answers:

1

Hi,

i have some customer sites and i have a issue list with a people picker. I want to show only the people that has acces to the customer site of there own company. I don't want that other customers see customers of a other company.

thx

i try this but i don't have any effect

stsadm -o setproperty –url http://extranet.company.com/sites/project1 –pn peoplepicker-onlysearchwithinsitecollection –pv yes

A: 

The stsadm command peoplepicker-onlysearchwithinsitecollection will only show people that are members of that site collection, a better way to restrict the users would be to use the stsadm command:

peoplepicker-searchadcustomfilter

so:

stsadm -o setproperty -url http://contoso -pn peoplepicker-searchadcustomfilter -pv (LDAP QUERY)

This lets you specify an LDAP Query, which can be made to return any AD users or groups based on any criteria that you wish.

Daniel Pollard
does it works for subsites to? i want to filter in a subsite only users that have access to the subsite.
idsis