[go: up one dir, main page]

Function username

Source
pub fn username() -> String
Expand description

Get the user’s username.

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