getAllRoles
Overview
Retrieves all roles in the system and returns their JSON representations.
Permissions
This method requires the SYSTEM.ADMIN permission.
Parameters
| Parameter | Type | Nullable | Description |
|---|---|---|---|
| None | - | - | This method does not take any parameters. |
Returns
JSON array of all RoleDTO objects.
Example
roles = system.mes.role.getAllRoles()