Getting NT userId from asp page

Discussion in 'ASP General' started by mvr, Feb 3, 2006.

  1. mvr

    mvr Guest

    Hi all

    Is there any way I can get the logged in NT user ID from asp
    page.
    I tried "Request.ServerVariables("LOGON_USER")" but no use.
    Our IIS 5.0 settings are as follows:
    Authentications methods:
    1)Anonymus access checked
    2)Authenticated access - Integrated windows
    authentication checked.

    Any help will be appreciated.

    Thanks
    mvr
    mvr, Feb 3, 2006
    #1
    1. Advertising

  2. Uncheck anonymous access if you want to authenticate the users.

    Ray at work

    "mvr" <> wrote in message
    news:Ou$...
    > Hi all
    >
    > Is there any way I can get the logged in NT user ID from asp
    > page.
    > I tried "Request.ServerVariables("LOGON_USER")" but no use.
    > Our IIS 5.0 settings are as follows:
    > Authentications methods:
    > 1)Anonymus access checked
    > 2)Authenticated access - Integrated windows
    > authentication checked.
    >
    > Any help will be appreciated.
    >
    > Thanks
    > mvr
    >
    >
    Ray Costanzo [MVP], Feb 3, 2006
    #2
    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. Ash
    Replies:
    0
    Views:
    510
  2. Replies:
    0
    Views:
    710
  3. mazdotnet
    Replies:
    0
    Views:
    648
    mazdotnet
    Sep 12, 2007
  4. Adam Right
    Replies:
    2
    Views:
    1,664
  5. TdarTdar
    Replies:
    15
    Views:
    259
    André da Silva Carrilho
    Jul 28, 2006
Loading...

Share This Page