Enumeration

Sessions API Result Codes

Recognize result codes specific to the sessions API.

Declaration

enum : OSStatus {
    ...
};

Overview

Use the SecCopyErrorMessageString function to obtain a human readable string corresponding to these status codes.

The functions of the sessions API may also return result codes from the authorization services API listed in Authorization Services Result Codes or the general codes listed in Security Framework Result Codes.

Topics

Codes

errSessionSuccess

The operation completed successfully.

errSessionInvalidId

Detected an invalid session ID.

errSessionInvalidAttributes

Detected an invalid set of request attribute bits.

errSessionAuthorizationDenied

Authorization denied.

errSessionValueNotSet

The requested session attribute has not been set.

errSessionInternal

An unrecognized internal error occurred.

errSessionInvalidFlags

Encountered invalid flags or options.