Docs.rs
username-0.2.0
username 0.2.0
Permalink
Docs.rs crate page
MIT/Apache-2.0
Links
Documentation
Repository
crates.io
Source
Owners
P-E-Meunier
Dependencies
advapi32-sys ^0.2
normal
winapi ^0.2
normal
Versions
40%
of the crate is documented
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
username
0.2.0
All Items
Crate Items
Enums
Functions
Crate
username
Copy item path
Source
Expand description
Returns info about current user.
println!
(
"{}"
,user::get_user_name().unwrap())
Enums
§
Error
Functions
§
get_
user_
name
Returns the name of the user running the current process