Evaluate Access Action
Evaluates a specified access check (user permission) against the current security context and returns whether the running user has the requested permission.
This action is available in API version 68.0 and later.
Supported REST HTTP Methods
- URI
- /services/data/v68.0/actions/standard/evaluateAccess
- Formats
- JSON, XML
- HTTP Methods
- GET
- Authentication
- Authorization: Bearer token
Inputs
| Input | Details |
|---|---|
| type |
|
| name |
|
Outputs
| Output | Details |
|---|---|
| isEnabled |
|
Example
Sample Request
1{
2 "inputs": [
3 {
4 "type": "UserPermission",
5 "name": "SkipLifeSciencesTriggerHandlers"
6 }
7 ]
8 }Sample Response
1[
2 {
3 "actionName": "evaluateAccess",
4 "errors": null,
5 "isSuccess": true,
6 "outputValues": {
7 "isEnabled": true
8 }
9 }
10 ]