PermissionSetGroup
Represents a group of permission sets and the permissions within them.
Use permission set groups to organize permissions based on job functions or tasks. Then, you
can package the groups as needed. This object is available in API version 45.0 and
later.
Supported Calls
create(), delete(), describeObject(), query(), retrieve(), update(), upsert()
Special Access Rules
As of Summer ’20 and later, to view this object, users must have one of these permissions:
- View Setup and Configuration
- Manage Session Permission Set Activations
- Assign Permission Sets
To edit this object, users must have the Manage Profiles and Permission Sets permission.
Fields
Field Name | Details |
---|---|
Description |
|
DeveloperName |
|
HasActivationRequired |
|
Language |
|
MasterLabel |
|
NamespacePrefix |
|
Status |
|
Usage
Use the PermissionSetGroup object to query existing permission set groups and to find which aggregated permissions are included in the group.
For example, to search for all object permissions in a permission set group named StandardAccountingUsers:
SELECT SObjectType
FROM ObjectPermissions
WHERE Parent.PermissionSetGroup.DeveloperName = 'StandardAccountingUsers'
POST
/services/data/v45.0/tooling/sobjects/PermissionSetGroup/
{
"DeveloperName":"Sales", "MasterLabel": "sales_label"
}