Request global user rights for all users
The method getUsersRights returns the global user rights of all users in JobRouter. When this method is used, no data must be passed as a search filter.
The return value consists of a list of users and their assigned global user rights (key-value pairs). Rights from user profiles are not considered here.
In case no users exist in JobRouter, an error message will be returned.
Request global user rights for specific users
The method getUsersRights additionally allows you, next to returning all global user rights of all users, to limit the amount of returned users and their global JobFunctions by setting a search filter.
The return value consists of a list of users and their assigned global user rights (key-value pairs). Rights from user profiles are not considered here.
In case there are no users found that match the search filter criteria during the request, an error message will be returned.
Method reference
Parameters |
Data type |
Description |
|---|---|---|
kvpList |
Array with the search data as key value pair. |
Return value: ServiceObject_KeyUserRightCollection[]; Array mit KeyUserRightCollection-Objekten