Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

SharePoint - Way to limit the "People" search?

Posted on 2010-08-25
5
Medium Priority
?
516 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 2000 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

Fill in the form and get your FREE NFR key NOW!

Veeam is happy to provide a FREE NFR server license to certified engineers, trainers, and bloggers.  It allows for the non‑production use of Veeam Agent for Microsoft Windows. This license is valid for five workstations and two servers.

Question has a verified solution.

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

When using a search centre, I'm going to show you how to configure Sharepoint's search to only return results from the current site collection. Very useful when using Office 365 with multiple site collections.
This article provides a convenient collection of links to Microsoft provided Security Patches for operating systems that have reached their End of Life support cycle. Included operating systems covered by this article are Windows XP,  Windows Server…
This tutorial will walk an individual through the steps necessary to enable the VMware\Hyper-V licensed feature of Backup Exec 2012. In addition, how to add a VMware server and configure a backup job. The first step is to acquire the necessary licen…
To efficiently enable the rotation of USB drives for backups, storage pools need to be created. This way no matter which USB drive is installed, the backups will successfully write without any administrative intervention. Multiple USB devices need t…

885 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