Skip to main content

get_local_user

Function get_local_user 

Source
fn get_local_user(
    username: &str,
    utmp_records: Option<Vec<UtmpxRecord>>,
) -> Result<Option<FingerResponseStructuredUserEntry>>
Expand description

Retrieve local user information for the given username.

Returns None if the user does not exist.