mixin

User

@Js
const mixin User

User account

methods dis

Display string for user

email

Email address if configured

hasEmail

Does this user have an associated email address

id

Ref identifier

isAdmin

Does this user have admin permissions

isSu

Does this user have superuser permissions

meta

User meta data as Haystack dict

username

Username identifier

dis abstract Str dis()

Display string for user

email abstract Str? email(Bool checked := true)

Email address if configured

hasEmail abstract Bool hasEmail()

Does this user have an associated email address

id abstract Ref id()

Ref identifier

isAdmin abstract Bool isAdmin()

Does this user have admin permissions

isSu abstract Bool isSu()

Does this user have superuser permissions

meta abstract Dict meta()

User meta data as Haystack dict

username abstract Str username()

Username identifier

Haxall 4.0.7 ∙ 27-Oct-2026 09:10 EDT