This service allows for fetch user roles.
Gets the details of given role.
const roleId: number = 1; (async () => { const {data, res} = await userRoleService.detail(roleId); })();
Roles's id or role object.
Returns promise object that is resolved with the IRole wrapped by IResult.
Gets the list of user roles filtered by parameters.
const filter: object = { severity: Severity.MAJOR, pageSize: 100, withTotalPages: true }; (async () => { const {data, res, paging} = await userRoleService.list(filter); })();
Object containing filters for querying roles.
Returns promise object that is resolved with the IRole wrapped by IResultList.
Generated using TypeDoc
This service allows for fetch user roles.