For Programmers: Free Programming Magazines  


Home > Archive > ASP > February 2005 > Retrieve email address from NT login with ASP









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author Retrieve email address from NT login with ASP
GoCMS

2005-02-22, 8:55 pm

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!





Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com