CSSM_CheckCssmExemption

Purpose

This describes the operations APIs for the OSCF Privilege Mechanism.This function returns the exemptions possessed by the current thread. For OCSF, if the exemption returned is non-zero, it implies that the CSSM_RequestCssmExemption API had been called to request the specific set of exemptions and the application is running with the OCSF Security Level 3 feature installed.

Format

CSSM_CheckCssmExemptionCSSM_RETURN CSSMAPICSSM_CheckCssm ExemptionCSSM_EXEMPTION_MASK *Exemptions)

Parameters

Output

Exemptions
A bit-mask of all exemptions possessed by the calling thread.

Return Value

A CSSM_OK return value signifies the operation was successful and that the exemption returned is valid. When CSSM_FAIL is returned, an error has occurred. Use CSSM_GetError to obtain the error code.

Related Information

CSSM_RequestCssmExemption