Function users_native::alt_get_users [] [src]

pub fn alt_get_users<P: AsRef<Path>>(path: P) -> Option<Vec<User>>

Alternative to get_users, in the case that the user database. Returns a vector of all users on the system

Example

use users_native as users;

for user in users::get_users().unwrap() {
    println!("{:?}", user);
}