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.

UserPermissionAccess

Represents the permissions accessibility for a current user. Available in API version 41.0 and later.

Supported Calls

describeSObjects(), query()

Fields

Field Details
LastCacheUpdate
Type
dateTime
Properties
Filter, Nillable, Sort
Description
The last modified date and time of either the user info or org info, whichever is later.
Permissions<PermissionName>
Type
boolean
Properties
Filter
Description
The name of the permission, such as PermissionsActivateContract or PermissionsAuthorApex and whether it’s available to the user (true) or not (false).

Usage

API users without PermissionsViewSetup can use this object to check if their own sessions have access to a feature.