I have an (intranet) application where I retrieve user log on id.
Code:
Dim Splits() As String = UCase(Request.ServerVariables("LOGON_USER")).Split("\"c)
TextBox5.Text = Splits(1)
my Page.User.Identity.AuthenticationType is NTLM
In addition to user id I would like to retrieve the name of the user logged on. Is there a server variable for this or could I use active directory? Thank you.