Grab NT Login ID

Results 1 to 3 of 3

Thread: Grab NT Login ID

  1. #1
    John Reynolds Guest

    Default Grab NT Login ID

    Is there any way I can grab the full NT login ID of the current user??<BR><BR>For example:<BR>Domainusername<BR><BR>I think I remember seeing some variable that grabs this?<BR><BR>Thanks,<BR>John

  2. #2
    Join Date
    Dec 1969

    Default RE: Grab NT Login ID

    You can do this by <BR><BR>varname = Request.ServerVariables("LOGON_USER")<BR><BR>varna me will contain username in the format "Domainusername"<BR>You can parse this string to get plain username. That&#039s it.<BR><BR>Hope this helps.<BR><BR>Pallavi<BR><BR>

  3. #3
    John Reynolds Guest

    Default RE: Grab NT Login ID

    PERFECT! Thanks :)

Posting Permissions

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