Display NT username

Results 1 to 2 of 2

Thread: Display NT username

  1. #1
    Join Date
    Dec 1969

    Default Display NT username

    CAn any body help ?<BR>I know there is a way to show the computers IP address taking the information from the Registry, but can I display the username ? I am using NT 4.<BR><BR>Cheers.

  2. #2
    Join Date
    Dec 1969

    Default RE: Display NT username

    Look up the servervariables:<BR><BR>SessionUserId = Request.ServerVariables("LOGON_USER")<BR>SessionUs erId =(right(SessionUserId, (Len(SessionUserId) -(instr(1, SessionUserId, "\")))))<BR><BR>for nt login<BR><BR>you can get the hostname aswell

Posting Permissions

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