Solved

Active Directory Incremental Search

Posted on 2012-04-11
3
378 Views
Last Modified: 2012-06-21
I would like to build a textbox that will support incremental search of an Active Directory and return a list of "partial" matches.

I could trap the keypress event or the like and reissue the AD query to obtain 1 or more partial matches.
0
Comment
Question by:Howard Bash
3 Comments
 
LVL 21

Expert Comment

by:motnahp00
ID: 37833389
dsquery does a pretty good job of that already.

Example:
dsquery user -name wayne*
0
 
LVL 1

Author Comment

by:Howard Bash
ID: 37833539
I think that dsquery is a commandline utility.  I am looking for a C# .NET solution.

The clue to that is that the zones are .NET, C# and Active Directory...
0
 
LVL 20

Accepted Solution

by:
BuggyCoder earned 500 total points
ID: 37834169
here are few ways to query AD, you can always wrap it according to your needs.
You might issue queries on submit button or on every textchanged event of textbox:-

http://www.codeproject.com/Articles/9570/Querying-Microsoft-Active-Directory-Using-Microsof
http://www.codeproject.com/Articles/18102/Howto-Almost-Everything-In-Active-Directory-via-C
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

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

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
Always backup Domain, SYSVOL etc.using processes according to Microsoft Best Practices. This is meant as a disaster recovery process for small environments that did not implement backup processes and did not run a secondary domain controller that ne…
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
Attackers love to prey on accounts that have privileges. Reducing privileged accounts and protecting privileged accounts therefore is paramount. Users, groups, and service accounts need to be protected to help protect the entire Active Directory …

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