Function

SecAccessCopyACLList

Retrieves all the ACL entries of a given access instance.

Declaration

OSStatus SecAccessCopyACLList(SecAccessRef accessRef, CFArrayRef  _Nullable *aclList);

Parameters

accessRef

The access instance from which to retrieve the information.

aclList

A pointer the method uses to return an array of SecACLRef instances. Call the CFRelease function to release the array when you are finished using it.

Return Value

Discussion

An access instance can have any number of ACL entries for specific operations or sets of operations. Use this method to get an array of all the ACL entries of a particular access instance. To retrieve entries corresponding to specific operations, use the SecAccessCopyMatchingACLList method instead.

See Also

Access Query

SecAccessCopyMatchingACLList

Retrieves selected ACL entries from a given access instance.

SecAccessCopyOwnerAndACL

Retrieves the owner and the ACL entries of a given access instance.