Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / General / February 2008

Tip: Looking for answers? Try searching our database.

Autocomplete extended and Active Directory

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
J R - 25 Jan 2008 17:02 GMT
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
adwb - 25 Jan 2008 18:16 GMT
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.

> 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?  
[quoted text clipped - 11 lines]
>
> - JR
Justin Stanley - 07 Feb 2008 15:54 GMT
Hi, JR.

I just did this a couple of days ago:

http://www.nerdliness.com/article/2008/02/05/pulling-data-active-directory-asp-n
et-ajax-autocomplete-extender


> 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?
[quoted text clipped - 11 lines]
>
> - JR

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.