Retrieve email address from NT login with ASP

Discussion in 'ASP General' started by GoCMS, Feb 22, 2005.

  1. GoCMS

    GoCMS Guest

    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!
     
    GoCMS, Feb 22, 2005
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Hilda
    Replies:
    0
    Views:
    317
    Hilda
    Dec 29, 2006
  2. Zeynel
    Replies:
    1
    Views:
    583
    alex23
    Dec 6, 2010
  3. Peter Bassett
    Replies:
    0
    Views:
    218
    Peter Bassett
    Aug 10, 2003
  4. bob
    Replies:
    2
    Views:
    139
    Bob Barrows [MVP]
    Mar 29, 2005
  5. Replies:
    5
    Views:
    275
    Dr John Stockton
    Dec 23, 2005
Loading...

Share This Page