ggeorgiou01
Programmer
Hi,
For tracing and other things I need to know the username of the user who is logged in to the pc on which (s)he is running my ASPX page.
I was using:
System.Security.Principal.WindowsIdentity.GetCurrent.Name()
But that provides me with: SERVERNAME\ASPNET
I was hoping for the windows login name of the user.
I am also using: <authentication mode="Windows" /> within the web.config file.
Thanks,
For tracing and other things I need to know the username of the user who is logged in to the pc on which (s)he is running my ASPX page.
I was using:
System.Security.Principal.WindowsIdentity.GetCurrent.Name()
But that provides me with: SERVERNAME\ASPNET
I was hoping for the windows login name of the user.
I am also using: <authentication mode="Windows" /> within the web.config file.
Thanks,