pub(crate) fn get_system_user_pair(
mapping: &ExtendedUserMapping,
) -> Result<(SystemUserId, User), Error>
Expand description
Returns a SystemUserId
and matching Unix system [User
] associated with it.
ยงErrors
Returns an error if
- there is no
SystemUserId
in the mapping, - or no [
User
] data can be retrieved from a foundSystemUserId
.