<!--
{
  "availability" : [
    "macCatalyst: 13.0.0 -",
    "macOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/kAuthorizationRightExecute",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@macro@kAuthorizationRightExecute"
  },
  "title" : "kAuthorizationRightExecute"
}
-->

# kAuthorizationRightExecute

The type for an authorization item requesting the right to execute with privileges.

```
var kAuthorizationRightExecute: String { get }
```

## Discussion

In addition to this right, you should obtain whatever rights the tool needs to perform its operation on your behalf. The [`AuthorizationItem`](/documentation/Security/AuthorizationItem) should contain the full path of the tool you wish to execute in the `value` and `valueLength` fields.  In the future we will limit the right to only execute the requested path, and we will display this information to the user.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)