Get the specified user’s object permissions for a given object. This action returns a list of the user’s assigned object permissions, which can include Create, Read, Edit, Delete, View All, and Modify All. It also can get the profile, permission sets, or permission set groups that grant the user this access.
Required Editions
| Available in: Lightning Experience |
| Available in: Enterprise, Performance, Unlimited, and Developer Editions with Foundations, or Agentforce 1 or Einstein 1 Editions |
| User Permissions Needed | |
|---|---|
| See Common User Access for Standard Agent Actions. | |
Note The Get and Explain Object Permissions of User action is a beta service that is subject to
the Beta Services Terms at Agreements - Salesforce.com or a written Unified Pilot Agreement if
executed by Customer, and the Non-GA Consumption terms in the Product Terms Directory. Use of this beta service is at
the Customer's sole discretion.
Action Details
Note This action is no longer being updated. We recommend that you use Setup with Agentforce,
which can help with many more administrative tasks and is automatically updated with new
functionality. For more information, see Setup with Agentforce.
| API Name | GetAndExplainObjectPermissions |
| Reference Action Type | Standard Action |
| Does this action execute one or more prompt templates? | No |
Guidelines and Considerations
- This action uses the Identify Object By Name (Object Management) action. Review considerations for this action in Salesforce Help.
- When specifying the user whose access you’re checking, use the user’s full name or ID instead of the user’s email or username.
- For better results, include the word “object” in questions about a user’s object permissions.
- If the user is assigned object permissions via a session-based permission set, the action returns the object permissions whether the permission set is activated or not.