Holds information about an user.
current(): User
administrator: boolean
name: string
roles: Role[]
superuser: boolean
the current user.
true if this user belongs to the role Administrator, false otherwise.
the user name.
the roles of this user.
true if this user belongs to the role SuperUser, false otherwise.