User Model
Last updated
Last updated
_id
string(ObjectId)
The unique identifier for the user.
name
string
The name of the user.
email
string
The email id of the user
passwordHash
string
The password of the user
role
string(ENUM)
The type of role. Value can contain any one of ["admin", "organiser", "user"].
organisation
string
The name of the organisation the user works for.