A role user group map associates a role with a user group. It is an owned object of a role object. A role-user-group-map object is created automatically when a role is assigned to a user group in the roles
array of a user-group
object. When the array of roles is updated, all role user group maps for that user group are deleted and new role user group maps are created for the updated roles.
Roles are used in companies that have role-based permissions. Companies with user-based permissions do not use roles.
Returns a collection with a key, ID, and link for each role user group map. This operation is mostly for use in testing; use the query service to find role user group maps that meet certain criteria and specify the properties that are returned.
OK
Bad Request
{- "ia::result": [
- {
- "key": "761",
- "id": "761",
- "href": "/objects/company-config/role-user-group-map/761"
}
], - "ia::meta": {
- "totalCount": 1,
- "start": 1,
- "pageSize": 100,
- "next": null,
- "previous": null
}
}
Returns detailed information for a specified role user group map.
key required | string System-assigned unique key for the role user group map. Example: 761 |
OK
Bad Request
{- "ia::result": {
- "key": "761",
- "id": "761",
- "role": {
- "key": "805",
- "id": "::SYS::Multi Entity Shared-ROLE",
- "href": "/objects/company-config/role/805"
}, - "userGroup": {
- "key": "1",
- "id": "Bypass group",
- "href": "/objects/company-config/user-group/1"
}, - "audit": {
- "createdDateTime": "2024-02-15T11:39:04Z",
- "modifiedDateTime": "2024-02-15T11:39:04Z",
- "createdBy": "51",
- "modifiedBy": "51",
- "createdByUser": {
- "key": "51",
- "id": "Admin",
- "href": "/objects/company-config/user/51"
}, - "modifiedByUser": {
- "key": "51",
- "id": "Admin",
- "href": "/objects/company-config/user/51"
}
}, - "href": "/objects/company-config/role-user-group-map/761"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}