Function whoami::username_os

source ·
pub fn username_os() -> OsString
Expand description

Get the user’s username.

On unix-systems this differs from realname() most notably in that spaces are not allowed.