Autocomplete extended and Active Directory

J

J R

I'd like to be able to search for users in Active Directory, rather than
a database using the AutoComplete extender. Has anyone tried this yet?
Surely, I can't be the first.

Ultimately, I'd like to use it on forms on our Intranet site for doing name
lookups; but additionally, once a user is selected - populate other fields
on the form with the selected user's data from AD. For example, email address,
phone number, location, etc. etc.

Has anyone seen this tried before; or can anyone offer up any good design
suggestions such as the best way to implement this?

TIA.

- J
 
A

adwb

I'm assuming you already know how to build a data proxy for your AutoComplete
extender to read from. If not I believe this is a good place to start:
http://www.asp.net/AJAX/AjaxControlToolkit/Samples/AutoComplete/AutoComplete.aspx

In the data proxy service method you'll want to take the search string and
query the AD:
http://www.willasrari.com/blog/query-active-directory-users-using-c/000133.aspx

I haven't done this myself but I have built AutoComplete data proxies to
query my own database. It's pretty simple. You'll want to return something
from your proxy service to your AutoComplete control that is unique enough
that you can identify the AD entity after one has been selected.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,764
Messages
2,569,567
Members
45,041
Latest member
RomeoFarnh

Latest Threads

Top