Solved

SharePoint - Way to limit the "People" search?

Posted on 2010-08-25
5
464 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

A long time ago (May 2011), I have written an article showing you how to create a DLL using Visual Studio 2005 to be hosted in SQL Server 2005. That was valid at that time and it is still valid if you are still using these versions. You can still re…
I thought I'd write this up for anyone who has a request to create an anonymous whistle-blower-type submission form created using SharePoint 2010 (this would probably work the same for 2013). It's not 100% fool-proof but it's as close as you can get…
This tutorial will show how to push an installation of Backup Exec to an additional server in both 2012 and 2014 versions of the software. Click on the Backup Exec button in the upper left corner. From here, select Installation and Licensing, then I…
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…

706 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

17 Experts available now in Live!

Get 1:1 Help Now