---
title: "CWKeychainCopyEAPIdentityList(_:)"
framework: Core WLAN
role: symbol
role_heading: Function
platforms: [macOS 10.7+]
path: "corewlan/cwkeychaincopyeapidentitylist(_:)"
---

# CWKeychainCopyEAPIdentityList(_:)

Finds and returns the available identities stored in the keychain.

## Declaration

```swift
func CWKeychainCopyEAPIdentityList(_ list: UnsafeMutablePointer<Unmanaged<CFArray>?>?) -> OSStatus
```

## Return Value

Return Value An OSStatus error code which will indicate whether or not a failure occurred during execution. errSecSuccess indicates no error occurred.

## Discussion

Discussion If there are no available identities, this method will return nil.

## See Also

### Utility Methods

- [CWMergeNetworks(_:)](corewlan/cwmergenetworks(_:).md)
