Solved

Active Directory Incremental Search

Posted on 2012-04-11
3
370 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:hbash
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:hbash
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Add win 10 group policy templates to domain 3 25
lync 2013 7 33
active directory 11 24
XML & .net 5 20
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
In this article, we will see the basic design consideration while designing a Multi-tenant web application in a simple manner. Though, many frameworks are available in the market to develop a multi - tenant application, but do they provide data, cod…
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 tutorial will walk an individual through the process of configuring their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

757 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now