HooksuseUserCopy MarkdownOpenPurpose The useUser hook provides a convenient way to manage user identity and attributes, and access user-specific information like subscription status. Returned Values PropTypeidentify?(userId: string, options?: IdentifyOptions) => Promise<void>update?(attributes: Record<string, any | null> | ((old: Record<string, any | null>) => Record<string, any | null>)) => Promise<void>signOut?() => voidrefresh?() => Promise<Record<string, any>>setIntegrationAttributes?(attributes: IntegrationAttributes) => Promise<void>getIntegrationAttributes?() => Promise<Record<string, string>>getEntitlements?() => Promise<EntitlementsInfo>setSubscriptionStatus?(status: SubscriptionStatus) => Promise<void>subscriptionStatus?SubscriptionStatususer?UserAttributes | null IdentifyOptions PropTyperestorePaywallAssignments?boolean? SubscriptionStatus PropTypestatus"UNKNOWN" | "INACTIVE" | "ACTIVE"entitlements?Entitlement[]? UserAttributes PropTypealiasId?stringappUserId?stringapplicationInstalledAt?stringseed?number[key: string]?any | null Usage Managing UsersHow is this guide?GoodBadusePlacementA React hook that registers a placement so it can remotely trigger a paywall, gate feature access, and expose paywall-lifecycle state.useSuperwallNext Page