Note: This release is in preview. Features described here don’t become generally available until the latest general availability date that Salesforce announces for this release. Before then, and where features are noted as beta, pilot, or developer preview, we can’t guarantee general availability within any particular time frame or at all. Make your purchase decisions only on the basis of generally available products and features.

PermissionSetTabSetting

Represents a permission set tab setting. Requires the View Setup permission. Use this object to query all tab settings of the permission set. This object is available in API version 45.0 and later.

Supported Calls

create(), delete(), describeSObjects(), query(), retrieve(), update(), upsert()

Special Access Rules

As of Spring ’20 and later, only users with "View Setup and Configuration" permission can access this object.

Fields

Field Name Details
Name
Type
string
Properties
Create, Filter, Group, Sort
Description
The tab name.
ParentId
Type
reference
Properties
Create, Filter, Group, Sort
Description
The permission set Id.
This is a relationship field.
Relationship Name
Parent
Relationship Type
Lookup
Refers To
PermissionSet
Visibility
Type
picklist
Properties
Create, Filter, Group, Restricted picklist, Sort, Update
Description
Indicates whether the tab is visible by default. Possible values are:
  • DefaultOff
  • DefaultOn

Usage

Use the PermissionSetTabSetting object to find tab setting visibility settings, parent permission sets, and so forth.

For example, to find the visibility setting of a tab named “standard-Lead,” do something like the following.

1SELECT Visibility 
2FROM PermissionSetTabSetting
3WHERE Name = 'standard-Lead'