Solved

Active Directory Incremental Search

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

Question has a verified solution.

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

Suggested Solutions

This article shows how to deploy dynamic backgrounds to computers depending on the aspect ratio of display
This article explains the steps required to use the default Photos screensaver to display branding/corporate images
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles to another domain controller. Log onto the new domain controller with a user account t…

808 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