Solved

PeopleEditor() to show all AD users(including disabled user)

Posted on 2010-11-24
4
1,469 Views
Last Modified: 2012-05-10
Hi SharePoint Experts,

I am using following to code to search all AD users(enabled and disabled):

          _PeoplePicker = new PeopleEditor();
          _PeoplePicker.AutoPostBack = false;
          _PeoplePicker.ToolTip = "Type in a user name or click browse.";
          _PeoplePicker.PlaceButtonsUnderEntityEditor = true;
          _PeoplePicker.ID = "PeopleEditor"; ;
          _PeoplePicker.AllowEmpty = false;
          _PeoplePicker.SelectionSet = "User";
          _PeoplePicker.MultiSelect = false;

But it doesn't show disabled AD users, is there a way to modified it with such behavior ONLY for this coded People Picker. I don't want to change the default behavior for the whole site.

Thanks,
-Rick
0
Comment
Question by:RHADMIN
  • 3
4 Comments
 
LVL 10

Expert Comment

by:Minesh Shah
ID: 34236717
check in content database: tables: user info
0
 
LVL 1

Author Comment

by:RHADMIN
ID: 34241198
Thanks, MineSharePoint, but it seems unrelating to my question.
-Rick
0
 
LVL 1

Accepted Solution

by:
RHADMIN earned 0 total points
ID: 35071691
Instead, I created a webpart just to do AD user query on user's status.
-Rick
0
 
LVL 1

Author Closing Comment

by:RHADMIN
ID: 35120645
a get-around solution
0

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

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

I used to be SharePoint evangelist in our company, so my Outlook always full of questions about how to do this, or where I can find that. One day I found such an email with the following question: "how to attach 3-State workflow (one of the workflow…
Summary In SharePoint 2010 it is easy to create custom color themes to jazz up a site. Theme colors can also be created in PowerPoint 2010 with a few clicks. But how do the chosen colors actually look in the SharePoint site? The attached PowerPoint…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an antispam), the admini…

730 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