Solved

SharePoint - Way to limit the "People" search?

Posted on 2010-08-25
5
475 Views
Last Modified: 2012-05-10
Greetings!

I'm curious if anyone has any knowledge on how to limit the amount of people that show up when you search.  For instance, If I'm trying to add someone to a group, SharePoint will search through the entire list of users on the current domain.  But what if my domain is split across three cities (Detroit, Atlanta, Vegas), and I only want to get the users that are in Atlanta.

Is there a way to disregard users from the search lists who are not in the current city, but are on the same domain that all three cities share?  Am I making my question clear enough?  If not, I can post screenshots.

Thank you.
0
Comment
Question by:ThatSharepointGuy
  • 3
  • 2
5 Comments
 
LVL 4

Expert Comment

by:Bordeaux0113
ID: 33524804
0
 
LVL 6

Author Comment

by:ThatSharepointGuy
ID: 33526805
Actually, it turns out that there is a command to do just what I wanted!

stsadm -o setsiteuseraccountdirectorypath

I must be the worst googler in the history of googlers!
0
 
LVL 6

Author Comment

by:ThatSharepointGuy
ID: 33526808
If only there was a way to set more than one OU for stsadm -o setsiteuseraccountdirectorypath.  I have four user OUs that I want to use, out of eight.

Unfortunately, adding extra properties to the user accounts is not something that I'll be able to do.
0
 
LVL 4

Accepted Solution

by:
Bordeaux0113 earned 500 total points
ID: 33526839
What about if you use the Peoplepicker-serviceaccountdirectorypaths property?
0
 
LVL 6

Author Closing Comment

by:ThatSharepointGuy
ID: 33559180
Great, thanks!  This worked :)
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

We had a requirement to extract data from a SharePoint 2010 Customer List into a CSV file and then place the CSV file into a directory on the network so that the file could be consumed by an AS400 system. I will share in Part 1 how to Extract the Da…
Sometimes drives fill up and we don't know why.  If you don't understand the best way to use the tools available, you may end up being stumped as to why your drive says it's not full when you have no space left!  Here's how you can find out...
This tutorial will walk an individual through locating and launching the BEUtility application to properly change the service account username and\or password in situation where it may be necessary or where the password has been inadvertently change…
This tutorial will walk an individual through configuring a drive on a Windows Server 2008 to perform shadow copies in order to quickly recover deleted files and folders. Click on Start and then select Computer to view the available drives on the se…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

12 Experts available now in Live!

Get 1:1 Help Now