UserPermissionAccess

Represents the permissions accessibility for a current user.

Introduced in API version 41.0.

describeSObjects(), query()

  • Type: datetime
  • Properties: Filter, Nillable, Sort
  • Description: The last modified date and time of either the user info or org info, whichever is later.
  • 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).

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