---
schema_version: "1"
id: 0e8543957bbd58f5a24dc9917a0292aba1a9eca07cb1cee854680be5e9153020
title: Evaluate Access Action
collection: legacydeveloper
version: current
locale: en-us
portal_url: https://docs.salesforce.com/legacydeveloper/current/en-us/life_sciences_dev_guide/ls_actions_evaluate_access.md
canonical_url: https://developer.salesforce.com/docs/atlas.en-us.life_sciences_dev_guide.meta/life_sciences_dev_guide/ls_actions_evaluate_access.htm
source_site: developer.salesforce.com
content_type: documentation
content_hash: 4c1f083f20b56d086774cb493a4fc9e80f481aecf1c2ba57cac16cd9bde0c64d
description: Evaluates a specified access check (user permission) against the current security context and returns whether the running user has the requested permission.
---
# 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/vXX.X/actions/standard/evaluateAccess

Where XX.X is the latest API version.

**Formats**: JSON, XML

**HTTP Methods**: GET

**Authentication**: Authorization: Bearer TOKEN

Where TOKEN is your OAuth access token.

## Inputs

<table class="featureTable sort_table" summary="">



          <thead class="thead sorted" align="left">
            <tr>
              <th class="featureTableHeader  " id="d490743e98">Input</th>

              <th class="featureTableHeader  " id="d490743e101">Type</th>

              <th class="featureTableHeader  " id="d490743e104">Description</th>

            </tr>

          </thead>

          <tbody class="tbody">
            <tr>
              <td class="entry" headers="d490743e98" data-title="Input"><span class="keyword parmname">type</span></td>

              <td class="entry" headers="d490743e101" data-title="Type">String</td>

              <td class="entry" headers="d490743e104" data-title="Description">Required<p class="p">The type of access check to evaluate. Supported value: <samp class="codeph nolang">UserPermission</samp>.</p>
              </td>

            </tr>

            <tr>
              <td class="entry" headers="d490743e98" data-title="Input"><span class="keyword parmname">name</span></td>

              <td class="entry" headers="d490743e101" data-title="Type">String</td>

              <td class="entry" headers="d490743e104" data-title="Description">Required<p class="p">The API name of the access check setting to evaluate.</p>
              </td>

            </tr>

          </tbody>

        </table>

## Outputs

| Output | Type | Description |
| --- | --- | --- |
| isEnabled | Boolean | Indicates whether the access check evaluates to true for the current security context. |

## Example

Sample Request

{
          "inputs": \[
          {
          "type": "UserPermission",
          "name": "SkipLifeSciencesTriggerHandlers"
          }
          \]
          }
        

Sample Response

\[
          {
          "actionName": "evaluateAccess",
          "errors": null,
          "isSuccess": true,
          "outputValues": {
          "isEnabled": true
          }
          }
          \]