<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AuthenticationServices",
  "identifier" : "/documentation/AuthenticationServices/ASPasskeyCredentialIdentity/userHandle",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Authentication Services"
    ],
    "preciseIdentifier" : "c:objc(cs)ASPasskeyCredentialIdentity(py)userHandle"
  },
  "title" : "userHandle"
}
-->

# userHandle

The user handle of this passkey credential.

```
var userHandle: Data { get }
```

## Discussion

Use the user handle, along with the [`credentialID`](/documentation/AuthenticationServices/ASPasskeyCredentialIdentity/credentialID), to identify the correct credential to use for a given relying party request.

---

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)