Newer Version Available
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(), describeSObject(), query(), retrieve(), update(), upsert()
Special Access Rules
As of Spring ’20 and later, only users who have one of these permissions can access this object:
- View Setup and Configuration
- Manage Session Permission Set Activations
- Manage Users
- Assign Permission Sets
- Manage External Users
- Manage Customer Users
Fields
| Field Name | Details |
|---|---|
| Description |
|
| DeveloperName |
|
| 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:
1SELECT SObjectType
2FROM ObjectPermissions
3WHERE Parent.PermissionSetGroup.DeveloperName = 'StandardAccountingUsers'1POST
2/services/data/v45.0/tooling/sobjects/PermissionSetGroup/
3
4{
5 "DeveloperName":"Sales", "MasterLabel": "sales_label"
6}