Username details from NT

Results 1 to 3 of 3

Thread: Username details from NT

  1. #1
    Join Date
    Dec 1969

    Default Username details from NT

    Does anyone know of any method or component for retriving user details from NT?

  2. #2
    Join Date
    Dec 1969

    Default RE: Username details from NT

    why not use the server variables to get the NT information?

  3. #3
    Join Date
    Dec 1969

    Default How to get Username details from NT

    The following code works for me. You have to set the access priveleges to "No Anonymous" for at least the file that contains this code. <BR>&#039the first line gives you the domain and username i.e. MYDOMAIN/USERNAME<BR>domanduser = ucase(Request.ServerVariables("LOGON_USER"))<BR>&# 039this line parses out the username<BR>replyto = Mid(domanduser,(instr(1,domanduser,"\")+1),len(dom anduser))<BR><BR>Hope that that helps. SamC

Posting Permissions

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