Get whether a specified user is assigned the required user permissions for a given task or feature. This action can also return the profile, permission sets, or permission set groups that grant the user this permission, if applicable.
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 User 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 | GetAndExplainUserPermissions |
| Reference Action Type | Standard Action |
| Does this action execute one or more prompt templates? | No |
Guidelines and Considerations
- To use this action, you must also add the Identify User Permissions by Name action to your agent.
- 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.
- To complete a task or access a feature, users sometimes must be assigned additional object or field permissions, which aren’t returned by this action.
- If the user is assigned user permissions via a session-based permission set, the action returns the user permissions whether the permission set is activated or not.