KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
Is there a way to force PrincipalContext to connect to a specific Domain Controller? I'm enumerating the list of locked accounts for my application, and I would like to be able to query multiple servers and return the list from all DCs. Currently I get whichever DC my PrincipalContext happens to connect to, and my list is not always completely correct of accounts that are locked out. I've done some digging, but don't see any way to make reference to which Domain Controller the call for PrincipalContext connects to.
Tags (comma-separated)
Save Edits
Cancel