lib::api

Function get_user

Source
pub fn get_user(users: impl Resource<User>, uid: u64) -> Option<User>
Expand description

GET /users/ Return a single user with . Return 404 if is not found. Example Response: {“name”: “dwoodlins”, “uid”: 1001, “gid”: 1001, “comment”: “”, “home”: “/home/dwoodlins”, “shell”: “/bin/false”}