Function

SecAccessCopyACLList(_:_:)

Retrieves all the ACL entries of a given access instance.

Declaration

func SecAccessCopyACLList(_ accessRef: SecAccess, _ aclList: UnsafeMutablePointer<CFArray?>) -> OSStatus

Parameters

accessRef

The access instance from which to retrieve the information.

aclList

A pointer the method uses to return an array of SecACL 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.