Roles()

Get the list of roles available.

Available since RPM18

Request

Request Data:

No data required.

Response

1
2
3
4
5
6
7
8
9
10
11
{
  "Result": {
    "Roles": [
      {
        "Name": <string>,
        "ID": <int>
      },
      // ... more roles
    ]
  }
}

Note: the Group IDs share the same value pool as Roles, this means you will never see a groups and a role with the same ID.

Errors

None