Crate whoami

source ·
Expand description

Crate for getting the user’s username and realname.

Enums

Functions

Get the computer’s pretty name.
Get the Desktop Environment. Example: “gnome” or “windows”
Get the computer’s hostname.
Get the OS. Example: “Windows 10” or “Fedora 26 (Workstation Edition)”
Get the user’s full name. Format: FIRST_NAME [MIDDLE_NAME] [LAST_NAME]
Get the user’s username.