Retrieve email address from NT login with ASP

G

GoCMS

Sorry for the duplicate posting, but I tried to cross_post from adsi.general
board, and it didn't work. :(

Here's my question:
I'm using windows 2000, and integrated windows authentication for company
intranet.
I'm constructing a web page with ASP. I got user's login by
Server("Auth_User") variable. How can I use that go get user's email address?
I tried GetObject("WinNT://myDomain/MyUserName"), but the object I got
didn't
have the property "Mail", it only had something like FullName or Name
properties.
I'm not sure how to set up the search filter to access LDAP://.... Can
someone help me here? I appreciate your help!

Thanks again!
 

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