MongoUserManController

Undocumented in source.

Constructors

this
this(UserManSettings settings)
Undocumented in source.

Members

Aliases

enumerateGroupMembers
alias enumerateGroupMembers = UserManController.enumerateGroupMembers
Undocumented in source.
enumerateGroups
alias enumerateGroups = UserManController.enumerateGroups
Undocumented in source.
enumerateUsers
alias enumerateUsers = UserManController.enumerateUsers
Undocumented in source.

Functions

addGroup
void addGroup(string id, string description)
Undocumented in source. Be warned that the author may not have intended to support it.
addGroupMember
void addGroupMember(string group, User.ID user)
Undocumented in source. Be warned that the author may not have intended to support it.
addUser
User.ID addUser(User usr)
Undocumented in source. Be warned that the author may not have intended to support it.
deleteUser
void deleteUser(User.ID user_id)
Undocumented in source. Be warned that the author may not have intended to support it.
enumerateGroupMembers
void enumerateGroupMembers(string group, long first_member, long max_count, void delegate(User.ID usr) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
enumerateGroups
void enumerateGroups(long first_group, long max_count, void delegate(ref Group grp) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
enumerateUsers
void enumerateUsers(long first_user, long max_count, void delegate(ref User usr) @(safe) del)
Undocumented in source. Be warned that the author may not have intended to support it.
getGroup
Group getGroup(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getGroupCount
long getGroupCount()
Undocumented in source. Be warned that the author may not have intended to support it.
getGroupMemberCount
long getGroupMemberCount(string group)
Undocumented in source. Be warned that the author may not have intended to support it.
getUser
User getUser(User.ID id)
Undocumented in source. Be warned that the author may not have intended to support it.
getUserByEmail
User getUserByEmail(string email)
Undocumented in source. Be warned that the author may not have intended to support it.
getUserByEmailOrName
User getUserByEmailOrName(string email_or_name)
Undocumented in source. Be warned that the author may not have intended to support it.
getUserByName
User getUserByName(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
getUserCount
long getUserCount()
Undocumented in source. Be warned that the author may not have intended to support it.
isEmailRegistered
bool isEmailRegistered(string email)
Undocumented in source. Be warned that the author may not have intended to support it.
removeGroup
void removeGroup(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
removeGroupMember
void removeGroupMember(string group, User.ID user)
Undocumented in source. Be warned that the author may not have intended to support it.
removeProperty
void removeProperty(User.ID user, string name)
Undocumented in source. Be warned that the author may not have intended to support it.
setEmail
void setEmail(User.ID user, string email)
Undocumented in source. Be warned that the author may not have intended to support it.
setFullName
void setFullName(User.ID user, string full_name)
Undocumented in source. Be warned that the author may not have intended to support it.
setGroupDescription
void setGroupDescription(string name, string description)
Undocumented in source. Be warned that the author may not have intended to support it.
setPassword
void setPassword(User.ID user, string password)
Undocumented in source. Be warned that the author may not have intended to support it.
setProperty
void setProperty(User.ID user, string name, Json value)
Undocumented in source. Be warned that the author may not have intended to support it.
updateUser
void updateUser(User user)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From UserManController

m_settings
UserManSettings m_settings;
Undocumented in source.
settings
UserManSettings settings [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isEmailRegistered
bool isEmailRegistered(string email)
Undocumented in source.
validateUser
void validateUser(User usr)
Undocumented in source. Be warned that the author may not have intended to support it.
addUser
User.ID addUser(User usr)
Undocumented in source.
registerUser
User.ID registerUser(string email, string name, string full_name, string password)
Undocumented in source. Be warned that the author may not have intended to support it.
inviteUser
User.ID inviteUser(string email, string full_name, string message, bool send_mail)
Undocumented in source. Be warned that the author may not have intended to support it.
testLogin
Nullable!(User.ID) testLogin(string name, string password)
Undocumented in source. Be warned that the author may not have intended to support it.
activateUser
void activateUser(string email, string activation_code)
Undocumented in source. Be warned that the author may not have intended to support it.
resendActivation
void resendActivation(string email)
Undocumented in source. Be warned that the author may not have intended to support it.
requestPasswordReset
void requestPasswordReset(string email)
Undocumented in source. Be warned that the author may not have intended to support it.
resetPassword
void resetPassword(string email, string reset_code, string new_password)
Undocumented in source. Be warned that the author may not have intended to support it.
getUser
User getUser(User.ID id)
Undocumented in source.
getUserByName
User getUserByName(string name)
Undocumented in source.
getUserByEmail
User getUserByEmail(string email)
Undocumented in source.
getUserByEmailOrName
User getUserByEmailOrName(string email_or_name)
Undocumented in source.
enumerateUsers
void enumerateUsers(long first_user, long max_count, void delegate(ref User usr) @(safe) del)
Undocumented in source.
enumerateUsers
void enumerateUsers(long first_user, long max_count, void delegate(ref User usr) del)
Undocumented in source. Be warned that the author may not have intended to support it.
getUserCount
long getUserCount()
Undocumented in source.
deleteUser
void deleteUser(User.ID user_id)
Undocumented in source.
updateUser
void updateUser(User user)
Undocumented in source.
setEmail
void setEmail(User.ID user, string email)
Undocumented in source.
setFullName
void setFullName(User.ID user, string full_name)
Undocumented in source.
setPassword
void setPassword(User.ID user, string password)
Undocumented in source.
setProperty
void setProperty(User.ID user, string name, Json value)
Undocumented in source.
removeProperty
void removeProperty(User.ID user, string name)
Undocumented in source.
addGroup
void addGroup(string id, string description)
Undocumented in source.
removeGroup
void removeGroup(string name)
Undocumented in source.
setGroupDescription
void setGroupDescription(string name, string description)
Undocumented in source.
getGroupCount
long getGroupCount()
Undocumented in source.
getGroup
Group getGroup(string id)
Undocumented in source.
enumerateGroups
void enumerateGroups(long first_group, long max_count, void delegate(ref Group grp) @(safe) del)
Undocumented in source.
enumerateGroups
void enumerateGroups(long first_group, long max_count, void delegate(ref Group grp) del)
Undocumented in source. Be warned that the author may not have intended to support it.
addGroupMember
void addGroupMember(string group, User.ID user)
Undocumented in source.
removeGroupMember
void removeGroupMember(string group, User.ID user)
Undocumented in source.
getGroupMemberCount
long getGroupMemberCount(string group)
Undocumented in source.
enumerateGroupMembers
void enumerateGroupMembers(string group, long first_member, long max_count, void delegate(User.ID usr) @(safe) del)
Undocumented in source.
enumerateGroupMembers
void enumerateGroupMembers(string group, long first_member, long max_count, void delegate(User.ID usr) del)
Undocumented in source. Be warned that the author may not have intended to support it.
getGroupByName
deprecated Group getGroupByName(string id)
Undocumented in source. Be warned that the author may not have intended to support it.
isValidGroupID
bool isValidGroupID(string name)

Test a group ID for validity.

Meta