Global Variable

errAuthorizationDenied

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

Declaration

var errAuthorizationDenied: OSStatus { get }

Discussion

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

See Also

Codes

var errAuthorizationSuccess: OSStatus

The operation completed successfully.

var errAuthorizationInvalidSet: OSStatus

The set parameter is invalid.

var errAuthorizationInvalidRef: OSStatus

The authorization parameter is invalid.

var errAuthorizationInvalidTag: OSStatus

The tag parameter is invalid.

var errAuthorizationInvalidPointer: OSStatus

The authorizedRights parameter is invalid.

var errAuthorizationCanceled: OSStatus

The user canceled the operation.

var errAuthorizationInteractionNotAllowed: OSStatus

The Security Server denied authorization because no user interaction is allowed.

var errAuthorizationInternal: OSStatus

An unrecognized internal error occurred.

var errAuthorizationExternalizeNotAllowed: OSStatus

The Security Server denied externalization of the authorization reference.

var errAuthorizationInternalizeNotAllowed: OSStatus

The Security Server denied internalization of the authorization reference.

var errAuthorizationInvalidFlags: OSStatus

The flags parameter is invalid.

var errAuthorizationToolEnvironmentError: OSStatus

The attempt to execute the tool failed to return a success or an error code.

var errAuthorizationBadAddress: OSStatus

The requested socket address is invalid.