Links your user ID to the SDK’s anonymous ID for cross-device entitlement tracking and attribution. Call this after a successful login to sync the user’s entitlements across devices.Documentation Index
Fetch the complete documentation index at: https://docs.encorekit.com/llms.txt
Use this file to discover all available pages before exploring further.
Signature
Parameters
| Name | Type | Description |
|---|---|---|
userId | String | Your user’s unique identifier from your auth system. |
attributes | UserAttributes? | Optional structured attributes to set for the user in one call. Defaults to nil. |