Function whoami::fallible::account

source ·
pub fn account() -> Result<String>
Expand description

Get the user’s account name; usually just the username, but may include an account server hostname.

If you don’t want the account server hostname, use username().

Example: username@example.com