Get an NPS user by sign-in account ID
GET/api/v1/ManagedAccount/ByAppUserId/:userId
Returns the NPS user linked to a Netwrix Privilege Secure sign-in account, including the user's name, account names, email address, last sign-in time, lock state and reviewer flag. Use it when you have the ID of the sign-in account rather than the NPS user ID. The policies, resources and activeSessions arrays in the response are always empty and scheduledSessionCount is 0; use the Policies call for the user's policies.
Permission required: Admin or App role.
Request
Responses
- 200
- 400
- 403
- 404
Returns the NPS user.
The lookup failed, for example because no sign-in account has that ID. The body is a text message.
The signed-in user does not have the required role.
The sign-in account is not linked to an NPS user.