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

# SecAccessCopySelectedACLList

Retrieves selected access control lists from a given access object.

```
OSStatus SecAccessCopySelectedACLList(SecAccessRef accessRef, CSSM_ACL_AUTHORIZATION_TAG action, CFArrayRef*aclList);
```

## Parameters

`accessRef`

The access object from which to retrieve the information.

`action`

An access control list authorization tag; the function returns only those access control list entries that apply to the operation indicated by this tag.

`aclList`

On return, a pointer to the selected access control lists. In Objective-C, call the <doc://com.apple.documentation/documentation/CoreFoundation/CFRelease> function to release this object when you are finished using it.

## Return Value

A result code. See [Security Framework Result Codes](/documentation/Security/security-framework-result-codes).

## Discussion

> Important:
> This function is deprecated.
> Use ``doc://com.apple.security/documentation/Security/SecAccessCopyMatchingACLList(_:_:)`` instead.

An access object can have any number of access control list (ACL) entries for specific operations or sets of operations. To retrieve all the ACL entries for an access object, use the [`SecAccessCopyACLList(_:_:)`](/documentation/Security/SecAccessCopyACLList(_:_:)) function.

### Special Considerations

This function is deprecated in macOS 10.7 and later; use [`SecAccessCopyMatchingACLList(_:_:)`](/documentation/Security/SecAccessCopyMatchingACLList(_:_:)) instead.

---

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)