get_UserName()

Environment::get_UserName() method

Returns the name of the user currently logged on to the Windows OS.

static String System::Environment::get_UserName()

See Also