A role user group map associates a role with a user group. A user group can have more than one assigned role.
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.
Subscription | Company |
---|---|
User type | Business users with admin privileges |
Permissions | Users - List, Groups |
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.
Subscription | Company |
---|---|
User type | Business users with admin privileges |
Permissions | Users - List, View, and Groups |
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": "2025-01-15T21:58:11Z",
- "modifiedDateTime": "2025-01-15T21:58:11Z",
- "createdBy": "158",
- "modifiedBy": "158"
}, - "href": "/objects/company-config/role-user-group-map/761"
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 1,
- "totalError": 0
}
}
Use the query service to find role user group maps that meet certain criteria and to specify the properties that are returned.
OK
Bad Request
{- "ia::result": {
- "ia::error": {
- "code": "invalidRequest",
- "message": "A POST request requires a payload",
- "errorId": "REST-1028",
- "additionalInfo": {
- "messageId": "IA.REQUEST_REQUIRES_A_PAYLOAD",
- "placeholders": {
- "OPERATION": "POST"
}, - "propertySet": { }
}, - "supportId": "Kxi78%7EZuyXBDEGVHD2UmO1phYXDQAAAAo"
}
}, - "ia::meta": {
- "totalCount": 1,
- "totalSuccess": 0,
- "totalError": 1
}
}