Skip to main content

Documentation Index

Fetch the complete documentation index at: https://stackauth-e0affa27-chore-move-mcp-to-a-sep-app.mintlify.app/llms.txt

Use this file to discover all available pages before exploring further.

This is a detailed reference for the User object. If you’re looking for a more high-level overview, please refer to our guide on users here. On this page:

CurrentUser

Use useUser() to get CurrentUser (client). Use stackServerApp.getUser() to get CurrentServerUser (server).

Table of Contents

Properties

Profile Management

Authentication

Team Management

Permissions

Contact Channels

OAuth Connections

Passkeys & Sessions

API Keys

Billing & Payments

Deprecated


ServerUser

Accessible via stackServerApp.getUser() on the server. ServerUser inherits most CurrentUser functionality minus session-dependent methods like getAuthJson() and signOut().

Table of Contents

Additional Properties

Additional Methods


CurrentServerUser

Combines all properties and methods from both CurrentUser and ServerUser, providing complete user access on the server side.

Table of Contents

React hook variants prefixed with use are available in React-like platforms and return unwrapped data rather than promises.