pub fn username_os() -> Result<OsString>
Expand description
Get the user’s username.
On unix-systems this differs from realname_os()
most notably in that
spaces are not allowed in the username.
pub fn username_os() -> Result<OsString>
Get the user’s username.
On unix-systems this differs from realname_os()
most notably in that
spaces are not allowed in the username.