Microsoft Knowledge Base Email Alertz

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

Search KbAlertz

Advanced Search

Receive Microsoft Knowledge Base articles by E-Mail?

Every night we scan the Microsoft Knowledge Base. If technologies you're interested in are updated, we'll send you an e-mail. You only get one e-mail a day, and only when new articles are added.

Click here to create a
FREE account
Already have an account?
[Click here to Login]











Microsoft Knowledge Base Article

This article contents is Microsoft Copyrighted material.
©2005-©2007 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks

Article ID: 967135 - Last Review: March 12, 2009 - Revision: 1.1

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

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  (http://kbalertz.com/Feedback.aspx?kbNumber=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 (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 (http://technet.microsoft.com/en-us/library/cc263318.aspx)

APPLIES TO
  • Microsoft Windows SharePoint Services 3.0
  • Microsoft Office SharePoint Server 2007
Keywords: 
kbsurveynew kbexpertiseinter kbprb kbfix kbqfe KB967135
       

Community Feedback System

Very often, it takes hours to solve a problem. Very often, you've looked high and low, and have tried a lot of solutions. When you finally found it, chances are, it was because someone else helped you. Here's your chance to give back. Use our community feedback tool to let others know what worked for you and what didn't.

Please also understand that the community feedback system is not warranted to be correct, it's simply a system that we've built to let people try and help each other. If something in a feedback response doesn't make sense to you, or you're not comfortable making changes that the feedback talks about (like registry edits), please consult a professional.

Thank you for using kbAlertz.com Feedback System.

-- Scott Cate