NT Username

Results 1 to 2 of 2

Thread: NT Username

  1. #1
    kingmob Guest

    Default NT Username

    We have an intranet running IIS4.0, I would like to read the nt username of the person viewing an asp page and put it in a cookie. I don&#039t want the person to have to sign in. I figured there has to be a way because if I set permissions on the folder where the asp page is IIS has to read that username. Any help would be greatly appreciated.

  2. #2
    Join Date
    Dec 1969

    Default RE: NT Username

    You can get the NT user name like this.<BR>Dim Username<BR>Username= Request.Servervariables("LOGON_USER")<BR>LOGON_USE R is the windows NT account that the user is logged into.

Posting Permissions

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