NTLM credentials -> query Active Directory -> email address

J

Jim Adams

Given NTLM credentials (domain\username) that can be read from browser
variables by an ASP.Net page, I need to query Active Directory and
extract that user's email address property.

Can someone provide a pointer to how this can be done, preferrably in
VB.Net.

Thanks,

Jim
 
T

Tim Heuer

within the framework you'll work with the DirectoryServices
namespace...specifically the DirectorySearcher class library. take a look
at that for some examples on MSDN. you'll have to know the AD schema
variable you are looking for...

-th
 

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,046
Latest member
Gavizuho

Latest Threads

Top