Link to home
Start Free TrialLog in
Avatar of RHADMIN
RHADMIN

asked on

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

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
Avatar of Minesh Shah
Minesh Shah
Flag of India image

check in content database: tables: user info
Avatar of RHADMIN
RHADMIN

ASKER

Thanks, MineSharePoint, but it seems unrelating to my question.
-Rick
ASKER CERTIFIED SOLUTION
Avatar of RHADMIN
RHADMIN

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of RHADMIN

ASKER

a get-around solution