<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.13.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "WebKit",
  "identifier" : "/documentation/WebKit/WKContentRuleListStore/getAvailableContentRuleListIdentifiers(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "WebKit"
    ],
    "preciseIdentifier" : "c:objc(cs)WKContentRuleListStore(im)getAvailableContentRuleListIdentifiers:"
  },
  "title" : "getAvailableContentRuleListIdentifiers(_:)"
}
-->

# getAvailableContentRuleListIdentifiers(_:)

Fetches the identifiers for all rule lists in the store asynchronously.

```
func getAvailableContentRuleListIdentifiers(_ completionHandler: (([String]?) -> Void)!)
```

## Parameters

`completionHandler`

A completion handler block to call with the results. This block has no return value and takes the following parameter:

- identifierArray: An array of strings, each of which corresponds to an identifier for a rule list in the data store. Use each string to look up the associated [`WKContentRuleList`](/documentation/WebKit/WKContentRuleList) object. If the data store has no rule lists, the array is empty.

## Discussion

---

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)