Go to the documentation of this file.
10#include <QtCore/QString>
23 CUser(
const QString& userName =
"",
const QString& password =
"",
int userGroup = 0);
virtual bool Serialize(iser::IArchive &archive)
Load or store state of this object as a archive stream.
int GetUserGroup() const
Get group number this user belongs.
void ResetPassword()
Set password to be reset.
bool CheckPassword(const QString &password) const
Check, if password is correct.
bool SetUserName(const QString &name)
Set name of user.
bool SetPassword(const QString &password)
Set password of this user.
const QString & GetUserName() const
Get name of user.
void SetUserGroup(int group)
Set group number this user belongs.
CUser(const QString &userName="", const QString &password="", int userGroup=0)
const QString & GetPassword() const
Get user's password.
Represent input/output persistence archive.
Common class for all classes which objects can be archived or restored from archive.
Contains implementations of interfaces and components related to right management.
© Witold Gantzke and Kirill Lepskiy