Tries the LOGNAME, USER, LNAME, USERNAME
environment variables first. Then it tries the id command on Unix-like
platforms and whoami on Windows.
Arguments
- fallback
If not
NULLthen this value is returned if the username cannot be found, instead of triggering an error.
See also
Other user names: email_address,
fullname, gh_username,
whoami