Optionalabilities?: string[]Optionalavatar?: stringThe user's avatar URL. (Use $getAvatar() to support Gravatar.)
OptionalcancelThe old email address.
OptionalcancelAn email change cancellation secret.
Optionalemail?: stringThe user's email address.
OptionalemailThe timestamp of when the email address was last changed.
Optionalenabled?: booleanWhether the user can log in.
Optionalgroup?: Group & GroupDataThe user's primary group.
Optionalgroups?: (Group & GroupData)[]The user's secondary groups.
OptionalinheritWhether the user should inherit the abilities of his groups.
Optionalname?: stringThe user's full name. This is generated from the first, middle, and last names.
OptionalnameThe user's first name.
OptionalnameThe user's last name.
OptionalnameThe user's middle name.
OptionalnewIf the user has changed their email address, this is the new one, awaiting verification.
OptionalnewAn email change proceed secret.
Optionalpassword?: stringThe password or password hash.
OptionalpasswordTemporary storage for passwords. This will be hashed before going into the database.
Optionalphone?: stringThe user's telephone number.
OptionalrecoverA recovery secret.
OptionalrecoverThe timestamp of when the recovery secret was issued.
OptionalrevokeIf set, this timestamp is the cutoff point for JWT issue dates. Any token issued before this date will not authenticate the user.
Optionalsalt?: stringThe password hash salt.
Optionalsecret?: stringA verification secret.
OptionaltotpTwo factor auth secret.
Optionalusername?: stringThe user's username.
The abilities granted to the user.