PermissionDependency

Represents permission dependencies for a specified permission. For example, return all child dependencies for the Modify All Data permission.

Introduced in API version 46.0.

describeSObjects(), query()

Query

  • As of Summer ’20 and later, only users with View Setup and Configuration permission can access this object.
  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The permission that depends on other permissions to be enabled. For example, the permission might be Modify All Data, which requires View All Data and other permissions to be enabled.

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The permission type. For example, user permissions, such as View All Data, or object permissions.

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The permission that is required to be enabled for the dependent permission to be enabled.

  • Type: string

  • Required: No

  • Properties: Filter, Group, Nillable, Sort

  • Description: The permission type. For example, user permissions, such as View All Data, or object permissions.

Use the PermissionDependency object to find the permissions on which a specified permission is dependent.