Home > SharePoint 2010 > SharePoint 2010: Limit People Picker to search only FBA Users

SharePoint 2010: Limit People Picker to search only FBA Users


 
Please refer to this post of mine on how to configure Forms Based Authentication (FBA) on a SharePoint Web Application.

Consider the following scenario:

You have configured FBA on a Web Application and created a Site Collection that uses FBA. Your Web Application uses mixed mode authentication (FBA and Windows Authentication). When you search for users in People Picker it shows you matches for both FBA and AD users. You would like to restrict People Picker to only show matches for FBA Users.

You can achieve this by running the following stsadm command:

stsadm -o setproperty -pn peoplepicker-onlysearchwithinsitecollection -url http://www.nameOfMySiteCollection.co.uk/ -pv yes

The ‘peoplepicker-onlysearchwithinsitecollection’ part in there is misleading and doesnt really do what it implies, however, it does get rid of the AD user mataches from People Picker.

Before running the stsadm command:
 
People picker showing AD users
 
People picker showing AD users
 
After running the stsadm command:
 
People Picker after running stsadm command
 
People Picker after running stsadm

Please note that if you type in the full username of an AD user and click on the Check Names icon it will still resolve the user.

Advertisements
  1. September 19, 2013 at 1:48 pm

    A shipowner has an absolute duty to provide a seaworthy ship.
    The raised metal partition’s design fails to address these hazards.
    Her medical bills are in excess of $60,000 and she will probably need another hip replacement in
    the future.

  2. September 10, 2014 at 5:13 am

    Good way of explaining, and nice article to obrain data on the topic of
    my presentation topic, which i am going to convey in institution of higher education.

  3. October 14, 2014 at 3:14 am

    Pretty! This wass an extremely wonderful post. Thanks for supplying these details.

  4. November 23, 2014 at 6:04 pm

    Hey there, You ave done a fantastic job.
    I’ll certainly digg it and personally recommend to my
    friends. I am confident they’ll be benefited from this web
    site.

  5. January 14, 2015 at 6:05 am

    Criminal Empire has good graphics for a Facebook game. For example, early viruses were spread as flolppy disks passed from one machine to
    another. Should you or a loved one be charged with a crime, retaining a qualified criminal defense attorney to put forward a passionate
    defense of your rights should be first and foremost in your mind.

  1. No trackbacks yet.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: