AppendixScript APIrole-script-apigetAllRolesOn this pagegetAllRoles Overview Retrieves all roles in the system and returns their JSON representations. Parameters ParameterTypeNullableDescriptionNone--This method does not take any parameters. Returns JSON array of all RoleDTO objects. Example roles = system.mes.role.getAllRoles()