Response.write(system.environment.username)
shows the username I logged in with on a computer with Visual Studio 2008 on it.
On another that I am trying asp.net on, it shows "NETWORK SERVICE".
I would like to know the simplest way to get the username I logged in with in all cases.
Can that be done?
shows the username I logged in with on a computer with Visual Studio 2008 on it.
On another that I am trying asp.net on, it shows "NETWORK SERVICE".
I would like to know the simplest way to get the username I logged in with in all cases.
Can that be done?