Optional
abilities?: string[]Optional
avatar?: stringThe user's avatar URL. (Use $getAvatar() to support Gravatar.)
Optional
cancelThe old email address.
Optional
cancelAn email change cancellation secret.
Optional
email?: stringThe user's email address.
Optional
emailThe timestamp of when the email address was last changed.
Optional
enabled?: booleanWhether the user can log in.
Optional
group?: Group & GroupDataThe user's primary group.
Optional
groups?: (Group & GroupData)[]The user's secondary groups.
Optional
inheritWhether the user should inherit the abilities of his groups.
Optional
name?: stringThe user's full name. This is generated from the first, middle, and last names.
Optional
nameThe user's first name.
Optional
nameThe user's last name.
Optional
nameThe user's middle name.
Optional
newIf the user has changed their email address, this is the new one, awaiting verification.
Optional
newAn email change proceed secret.
Optional
password?: stringThe password or password hash.
Optional
passwordTemporary storage for passwords. This will be hashed before going into the database.
Optional
phone?: stringThe user's telephone number.
Optional
recoverA recovery secret.
Optional
recoverThe timestamp of when the recovery secret was issued.
Optional
revokeIf set, this timestamp is the cutoff point for JWT issue dates. Any token issued before this date will not authenticate the user.
Optional
salt?: stringThe password hash salt.
Optional
secret?: stringA verification secret.
Optional
totpTwo factor auth secret.
Optional
username?: stringThe user's username.
The abilities granted to the user.