Autocomplete extended and Active Directory

Autocomplete extended and Active Directory

am 25.01.2008 18:02:47 von 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.

- JR

RE: Autocomplete extended and Active Directory

am 25.01.2008 19:16:00 von 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/AutoCompl ete/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.

"J R" wrote:

> 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.
>
> - JR
>
>
>