Appearance
string System.GetUserName()
Returns the username logged in to the terminal
string - The logged in username
string
using System; using Console; string username = System.GetUserName(); Console.WriteLine("The logged in user is: "..username);