NT authentication

Results 1 to 2 of 2

Thread: NT authentication

  1. #1
    Join Date
    Dec 1969

    Default NT authentication

    how do you retreive the login name using NT authentication on ASP.net?

  2. #2
    Join Date
    Dec 1969

    Default RE: NT authentication

    In C#:<BR>string sUsername = HttpContext.Current.Request.ServerVariables["AUTH_USER"];<BR><BR>In Vb:<BR>Dim sUsername as string = HttpContext.Current.Request.ServerVariables("AUTH_ USER")<BR><BR>You can omit HttpContext.Current if you want, but youw will need it in a control or class.

Posting Permissions

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