Get details about a specific user.
static public func getUser(connection: Connection, username: String) throws -> IamUser
- An established connection to the device
Throws the following errors:
- if the user does not exist on the device
- if the device configuration does not allow retrieving this user (the `IAM:GetUser` action is not set for the requesting role)
- if Nabto Edge IAM is not supported by the device
an IamUser instance describing the requested user