Process.username

string username() @property @safe

Gets the username of the process owner.

Returns

The username, or empty string if unavailable.