Get user's login name

Results 1 to 4 of 4

Thread: Get user's login name

  1. #1
    Tony Kilhoffer Guest

    Default Get user's login name

    How do I access and use the user&#039s login name in my ASP application? I am using NT&#039s challenge/response method for authentication, but I need to use that login name for other scripting reasons. Someone suggested ADSI, but I can&#039t install Win2K on that machine. Help!!! (please)

  2. #2
    Mr Swifty Guest

    Default RE: Get user's login name

    This might bring up a box for client machines with less than NT, but:<BR><BR>If request.servervariables("LOGON_USER") = "" Then<BR>response.status = "401 Unauthorized"<BR>End If<BR>GetLogon = request.servervariables("LOGON_USER")<BR>

  3. #3
    Join Date
    Dec 1969

    Default RE: Get user's login name

    Maybe this will help!<BR>Request.ServerVariables("LOGON_USER")<BR> or try this link:<BR>

  4. #4
    Mark Guest

    Default RE: Get user's login name

    Just remember that the server Variable "LOGON_USER" only exists when users are authenticated (normally through Basic or NT Challenge/Response). If Anonymous is used, no "LOGON_USER" Server variable will exist!<BR>

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts