Exchange GAL in Webform DropDownList?

W

wazoo

We've written a number of VB/ASP.Net intranet webapps that allow our users
to email various electronic versions of formerly paper forms to their
supervisors. Currently, we're using a rather simple arrangement where the
user is presented with a textbox and the user is expected to complete the
supervisor's email address by supplying that intended recipient's userid.

So, of course, we have users typing the whole address into the textbox or
typing the recipient's full name, last name, first name, their dog's and
cat's names, or whatever and, of course, this doesn't work out. . .

I'd like to make that textbox into a dropdown list, populated with Display
Names from our Exchange server's GAL, and have the webapp form the email
address properly, to "idiot-proof" the process.

We're currently on an NT Domain and using Exchange 5.5, but we're (someday)
migrating to AD and Exchange 2000. We'd prefer to write code that won't
need to be re-visited after the upgrade.

Is there a way to suck the Display Names and UserIDs out of an Exchange
server, filtering out things like Distribution Lists and hidden users and
the like? A method that won't change (much) when the mail server becomes an
Exchange 2000 server?

Can anybody point us to some similar sample code?
 

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

Forum statistics

Threads
473,767
Messages
2,569,572
Members
45,045
Latest member
DRCM

Latest Threads

Top