Returns the user name the current process is running under.
The username of the account the current process is running under.
This property identifies the username under which the current process is executing.
Namespace: System
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0