The Check Names function does not honor the Peoplepicker-onlysearchwithinsitecollection setting in Windows SharePoint Services 3.0

Article translations Article translations
Article ID: 967135 - View products that this article applies to.
Expand all | Collapse all

SYMPTOMS

You use the following command to set the Peoplepicker-onlysearchwithinsitecollection setting in Windows SharePoint Services 3.0.
stsadm -o setproperty –url http://webapp –pn peoplepicker-onlysearchwithinsitecollection –pv yes
However, the Check Names function does not honor the Peoplepicker-onlysearchwithinsitecollection setting. For example, if you enter a user name in the People Picker text box and then click Check Names, the entered user name will be looked up in Active Directory by the ActiveDirectorySid resolver.

RESOLUTION

To resolve this issue install the hotfix package that is described in the following Microsoft Knowledge Base article:

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
961750 Description of the Windows SharePoint Services 3.0 hotfix package (Sts.msp): February 24, 2009
After you install this hotfix, you will be able to force Check Names to look up users from the site collection only. You have to use stsadm or SharePoint Object Model to add new users to the site collection after this new behavior is enabled. Also, you have to follow these steps to set the new PeopleEditorOnlyResolveWithinSiteCollection property and to enable the new behavior on a Web application:
  1. Visit the following Microsoft Web site and download Windows PowerShell:
    http://www.microsoft.com/windowsserver2003/technologies/management/powershell/default.mspx
  2. Install and then start Windows PowerShell.
  3. Run the following command to set this new PeopleEditorOnlyResolveWithinSiteCollection property and to enable the new behavior on a Web application.
    [Reflection.Assembly]::Load("Microsoft.SharePoint, Version=12.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c")
    $webapp=[Microsoft.SharePoint.Administration.SPWebApplication]::Lookup("http://webapp")
    $webapp.PeoplePickerSettings.PeopleEditorOnlyResolveWithinSiteCollection = $true;
    $webapp.Update();
    

MORE INFORMATION

For more information about Peoplepicker: Stsadm properties, visit the following Microsoft Web site:
http://technet.microsoft.com/en-us/library/cc263318.aspx

Properties

Article ID: 967135 - Last Review: March 12, 2009 - Revision: 1.1
APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
  • Microsoft Office SharePoint Server 2007
Keywords: 
kbsurveynew kbexpertiseinter kbprb kbfix kbqfe KB967135

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com