Interface User

User

interface User {
    date_joined?: string;
    email?: string;
    first_name?: string;
    groups: string[];
    has_analytics_access?: boolean;
    id?: number;
    is_active?: boolean;
    is_staff?: boolean;
    is_superuser?: boolean;
    last_login?: null | string;
    last_name?: string;
    url?: string;
    username: string;
}

Properties

date_joined?: string

User

email?: string

User

first_name?: string

User

groups: string[]

User

has_analytics_access?: boolean

User

id?: number

User

is_active?: boolean

Designates whether this user should be treated as active. Unselect this instead of deleting accounts.

User

is_staff?: boolean

Designates whether the user can log into this admin site.

User

is_superuser?: boolean

Designates that this user has all permissions without explicitly assigning them.

User

last_login?: null | string

User

last_name?: string

User

url?: string

User

username: string

Required. 150 characters or fewer. Letters, digits and @/./+/-/_ only.

User