get_user_id

Function get_user_id 

Source
pub fn get_user_id(user_name: &CStr) -> Result<uid_t>
Expand description

Safe wrapper for getting a uid from a user name with getpwnam_r(3).