The Role datatype includes various settings.

Table: Role

idstringyes The unique identifier for the role.
displayNamestringyes The display name of the role.
colorstring  The color associated with the role.
descriptionstring  A description of the role.
viewPermissionsPermissionyes The view permissions given to the role (see Permission Table).
systemPermissionsSystemPermissionyes The system permissions given to the role (see SystemPermission Table).
organizationPermissionsOrganizationPermissionyes The organization permissions given to the role (see OrganizationPermission Table).
groupsCountintegeryes The number of groups related to the role.
usersCountintegeryes The number of users assigned the role.
users[User]yes A list of users assigned the role (see User Table).
groupsGroupyes The groups related to the role (see Group Table).

[a] Some arguments may be required, as indicated in this column. For some fields, this column indicates that a result will always be returned for it.