User

Undocumented in source.

Constructors

this
this()
Undocumented in source.

Members

Functions

inGroup
bool inGroup(string group)
Undocumented in source. Be warned that the author may not have intended to support it.
isConfigAdmin
bool isConfigAdmin()
Undocumented in source. Be warned that the author may not have intended to support it.
isPostAdmin
bool isPostAdmin()
Undocumented in source. Be warned that the author may not have intended to support it.
isUserAdmin
bool isUserAdmin()
Undocumented in source. Be warned that the author may not have intended to support it.
mayPostInCategory
bool mayPostInCategory(string category)
Undocumented in source. Be warned that the author may not have intended to support it.
toBson
Bson toBson()
Undocumented in source. Be warned that the author may not have intended to support it.

Static functions

fromBson
User fromBson(Bson bson)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_id
BsonObjectID _id;
Undocumented in source.
allowedCategories
string[] allowedCategories;
Undocumented in source.
email
string email;
Undocumented in source.
groups
string[] groups;
Undocumented in source.
name
string name;
Undocumented in source.
password
string password;
Undocumented in source.
username
string username;
Undocumented in source.

Meta