Solved

Active Directory Incremental Search

Posted on 2012-04-11
3
375 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

Is Your AD Toolbox Looking More Like a Toybox?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

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

It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Last week, our Skyport webinar on “How to secure your Active Directory” (https://www.experts-exchange.com/videos/5810/Webinar-Is-Your-Active-Directory-as-Secure-as-You-Think.html?cid=Gene_Skyport) provided 218 attendees with a step-by-step guide for…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …

776 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