Platforms to show: All Mac Windows Linux Cross-Platform

Back to AuthorizationMBS class.

AuthorizationMBS.errAuthorizationCanceled = -60006

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The authorization was cancelled by the user.

AuthorizationMBS.errAuthorizationDenied = -60005

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The authorization was denied.

AuthorizationMBS.errAuthorizationExternalizeNotAllowed = -60009

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The authorization is not allowed to be converted to an external format.

AuthorizationMBS.errAuthorizationInteractionNotAllowed = -60007

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The authorization was denied since no user interaction was possible.

AuthorizationMBS.errAuthorizationInternal = -60008

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

Unable to obtain authorization for this operation.

AuthorizationMBS.errAuthorizationInternalizeNotAllowed = -60010

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The authorization is not allowed to be created from an external format.

AuthorizationMBS.errAuthorizationInvalidFlags = -60011

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The provided option flag(s) are invalid for this authorization operation.

AuthorizationMBS.errAuthorizationInvalidPointer = -60004

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The returned authorization is invalid.

AuthorizationMBS.errAuthorizationInvalidRef = -60002

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The authorization reference is invalid.

AuthorizationMBS.errAuthorizationInvalidSet = -60001

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The authorization rights are invalid.

AuthorizationMBS.errAuthorizationInvalidTag = -60003

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The authorization tag is invalid.

AuthorizationMBS.errAuthorizationSuccess = 0

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

No error.

AuthorizationMBS.errAuthorizationToolEnvironmentError = -60032

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

An invalid status was returned during execution of a privileged tool.

AuthorizationMBS.errAuthorizationToolExecuteFailure = -60031

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the error codes.

The specified program could not be executed.

AuthorizationMBS.kAuthorizationEmptyEnvironment = nil

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
Indicates an empty environment. You should pass this constant in functions with an environment parameter if you have no environment data to provide.

AuthorizationMBS.kAuthorizationExternalFormLength = 32

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
Indicates, in number of bytes, the length of the array in the AuthorizationExternalForm structure.

AuthorizationMBS.kAuthorizationFlagCanNotPreAuthorize = 1

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the flag values.

Indicates the Security Server could not preauthorize the right.

AuthorizationMBS.kAuthorizationFlagDefaults = 0

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the flag values.

If no bits are set, none of the following features are available.

AuthorizationMBS.kAuthorizationFlagDestroyRights = 8

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the flag values.

If the bit specified by this mask is set, the Security Server revokes authorization from the process as well as from any other process that is sharing the authorization. If the bit specified by this mask is not set, the Security Server revokes authorization from the process but not from other processes that share the authorization.

AuthorizationMBS.kAuthorizationFlagExtendRights = 2

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the flag values.

If the bit specified by this mask is set, the Security Server attempts to grant the rights requested. Once the Security Server denies one right, it ignores the remaining requested rights.

AuthorizationMBS.kAuthorizationFlagInteractionAllowed = 1

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the flag values.

If the bit specified by this mask is set, you permit the Security Server to interact with the user when necessary.

AuthorizationMBS.kAuthorizationFlagPartialRights = 4

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the flag values.

If the bit specified by this mask and the kAuthorizationFlagExtendRights mask are set, the Security Server grants or denies rights on an individual basis and all rights are checked.

AuthorizationMBS.kAuthorizationFlagPreAuthorize = 16

Type Topic Plugin Version
const Authorization MBS MacCF Plugin 14.2
One of the flag values.

If the bit specified by this mask is set, the Security Server preauthorizes the rights requested.

The items on this page are in the following plugins: MBS MacCF Plugin.


💬 Ask a question or report a problem
The biggest plugin in space...