injected service use to handle the organization related operations
injected logger used to handle the logging
request context [headers, body, params, query]. Note:
params
is requiredparams.userId
is requiredparams.orgId
is required200 OK
This handler will get user role by applying the following steps in sequence:
Get organization id and user id from params
Get user organization role (service.getUserOrganizationRole)
Return user role
Error
404 NBError Not Found
Generated using TypeDoc
Get user role handler