Crate users_native [] [src]

This library parses /etc/passwd for information about groups on a system

Groups are represented in /etc/passwd in the form of:

user_name:password:UID:GID:GECOS:home_dir:shell

Structs

User

Structure used to wrap parsed information from user database

Functions

alt_get_users

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

get_current_user

Gets the current user

get_current_username

Gets the current username

get_user_by_name

Gets a user by their name

get_user_by_uid

Gets a user by their UID

get_users

Returns a vector of all users on the system