Returns the values of multiple entitlements for the represented task.
- macOS 10.7+
The task whose entitlements you want.
An array of the names of the entitlement to be fetched.
A pointer that the function uses to provide an error object with details if an error occurs. The caller becomes responsible for the object's memory. Pass
NULLto ignore the error.
A dictionary containing the entitlement names as keys with the corresponding entitlements as the dictionary values, or
NULL on error. Call the
CFRelease function to free this dictionary's memory when you are done with it.