Function

SecAccessCopyMatchingACLList(_:_:)

Retrieves selected ACL entries from a given access instance.

Declaration

func SecAccessCopyMatchingACLList(_ accessRef: SecAccess, _ authorizationTag: CFTypeRef) -> CFArray?

Parameters

accessRef

The access instance from which to retrieve the information.

authorizationTag

An access control list authorization tag. See ACL Authorization Keys for a list of possible values. The method returns only those ACL entries that apply to the operation indicated by this tag.

Return Value

An array containing the selected access control list entries.

Discussion

An access instance can have any number of ACL entries for specific operations or sets of operations. This method returns the ACL entries that apply to the given operation. To retrieve all the ACL entries for an access instance, use the SecAccessCopyACLList(_:_:) method instead.