Get a local user by name and resource
GET/api/v1/User/GetByUserNameHostId/:username/:hostId
Finds a user account by its name property on a specific resource. The match is not case-sensitive and the result can include a user that is marked as deleted. Group memberships are not included.
Permission required: Admin or App role, and a sign-in that has passed multi-factor authentication.
Request
Responses
- 200
- 400
- 403
- 404
The matching user.
The lookup failed. The body contains the error message.
The signed-in user does not have the required role.
No user with that name exists on the resource.