Skip to content
On this page

This is an auto-generated document to support extension builders understand the internal packages they can utilize. To find our written guides, tutorials, and API/SDK reference, check out our main docs .

Directus / @directus/types / User

Type alias: User

User: Object

Type declaration

appearance

appearance: "auto" | "dark" | "light" | null

auth_data

auth_data: Record<string, any> | null

avatar

avatar: Avatar | null

description

description: string | null

email

email: string | null

email_notifications

email_notifications: boolean

external_identifier

external_identifier: string | null

first_name

first_name: string | null

id

id: string

language

language: string | null

last_access

last_access: string | null

last_name

last_name: string | null

last_page

last_page: string | null

location

location: string | null

password

password: string | null

provider

provider: string

role

role: Role | null

status

status: "draft" | "invited" | "active" | "suspended" | "archived"

tags

tags: string[] | null

tfa_secret

tfa_secret: string | null

theme_dark

theme_dark: string | null

theme_dark_overrides

theme_dark_overrides: Record<string, unknown> | null

theme_light

theme_light: string | null

theme_light_overrides

theme_light_overrides: Record<string, unknown> | null

title

title: string | null

token

token: string | null

Source

users.ts:18