<!--
{
  "availability" : [
    "macOS: 10.7.0 - 10.10.0"
  ],
  "documentType" : "symbol",
  "framework" : "Security",
  "identifier" : "/documentation/Security/SecACLCopyAuthorizations(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Security"
    ],
    "preciseIdentifier" : "c:@F@SecACLCopyAuthorizations"
  },
  "title" : "SecACLCopyAuthorizations(_:)"
}
-->

# SecACLCopyAuthorizations(_:)

Retrieves the authorization tags of a given ACL entry.

```
func SecACLCopyAuthorizations(_ acl: SecACL) -> CFArray
```

## Parameters

`acl`

The ACL entry from which you wish to retrieve the authorization tags.

## Return Value

An array containing the authorizations for this entry. In Objective-C, free this object with a call to the <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> method when you are done with it.

## Discussion

An ACL instance includes a list of trusted apps, the name of the keychain item as it appears in user prompts, the prompt selector flag, and a list of one or more operations to which this ACL entry applies. Use this method to retrieve the list of operations for an ACL entry. Use the [`SecACLCopyContents(_:_:_:_:)`](/documentation/Security/SecACLCopyContents(_:_:_:_:)) method to retrieve the other information.

The [`SecACLCopyAuthorizations(_:)`](/documentation/Security/SecACLCopyAuthorizations(_:)) method returns an error if there are more tags to return than the number of elements you allocated in the `tags` array. A 20-element array should suffice for most purposes; however, you can test for the [`errSecBufferTooSmall`](/documentation/Security/errSecBufferTooSmall) error and increase the size of the array before calling the method again if necessary. Alternatively, you can call the method with a tag count of `0`, read the value returned in the `tagCount` parameter, and then call the method again using that value.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)