---
title: errAuthorizationDenied
framework: security
role: symbol
role_heading: Global Variable
path: security/errauthorizationdenied
---

# errAuthorizationDenied

The Security Server denied authorization for one or more requested rights.

## Declaration

```swift
var errAuthorizationDenied: OSStatus { get }
```

## Discussion

Discussion This error is also returned if there was no definition found in the policy database, or a definition could not be created.
