The Backend User object is similar to the User object as it holds information about a user of your application, such as their unique identifier, name, email addresses, phone numbers, and more. However, the Backend User object is different from the User object in that it is used in the Backend API and is not directly accessible from the Frontend API.
A boolean indicating whether the user has enabled Backup codes.
Name
banned
Type
boolean
Description
A boolean indicating whether the user is banned or not.
Name
createdAt
Type
number
Description
The date when the user was first created.
Name
createOrganizationEnabled
Type
boolean
Description
A boolean indicating whether the organization creation is enabled for the user or not.
Name
createOrganizationsLimit
Type
null | number
Description
An integer indicating the number of organizations that can be created by the user. If the value is 0, then the user can create unlimited organizations. Default is null.
Name
deleteSelfEnabled
Type
boolean
Description
A boolean indicating whether the user can delete their own account.
Name
emailAddresses
Type
[]
Description
An array of all the EmailAddress objects associated with the user. Includes the primary.
Name
externalAccounts
Type
[]
Description
An array of all the ExternalAccount objects associated with the user via OAuth. Note: This includes both verified & unverified external accounts.
Name
externalId
Type
null | string
Description
The ID of the user as used in your external systems. Must be unique across your instance.
Name
firstName
Type
null | string
Description
The user's first name.
Name
hasImage
Type
boolean
Description
A getter boolean to check if the user has uploaded an image or one was copied from OAuth. Returns false if Clerk is displaying an avatar for the user.
Name
id
Type
string
Description
The unique identifier for the user.
Name
imageUrl
Type
string
Description
The URL of the user's profile image.
Name
lastActiveAt
Type
null | number
Description
Date when the user was last active.
Name
lastName
Type
null | string
Description
The user's last name.
Name
lastSignInAt
Type
null | number
Description
The date when the user last signed in. May be empty if the user has never signed in.