#include <CUser.h>
Definition at line 16 of file CUser.h.
iauth::CUser::CUser |
( |
const QString & |
userName = "" , |
|
|
const QString & |
password = "" , |
|
|
int |
userGroup = 0 |
|
) |
| |
iauth::CUser::CUser |
( |
const CUser & |
user | ) |
|
bool iauth::CUser::CheckPassword |
( |
const QString & |
password | ) |
const |
Check, if password is correct.
const QString& iauth::CUser::GetPassword |
( |
| ) |
const |
int iauth::CUser::GetUserGroup |
( |
| ) |
const |
Get group number this user belongs.
- Returns
- number of group, or -1 if this user is disabled.
const QString& iauth::CUser::GetUserName |
( |
| ) |
const |
void iauth::CUser::ResetPassword |
( |
| ) |
|
Set password to be reseted.
bool iauth::CUser::SetPassword |
( |
const QString & |
password | ) |
|
Set password of this user.
- Returns
- true, if password was accepted, or false if it is uncompatible with the password guide lines.
void iauth::CUser::SetUserGroup |
( |
int |
group | ) |
|
Set group number this user belongs.
- Parameters
-
group | group number, or -1 if this user is disabled. |
bool iauth::CUser::SetUserName |
( |
const QString & |
name | ) |
|
Set name of user.
- Returns
- true, if user name was accepted, or false if it is uncompatible with the user name guide lines.
The documentation for this class was generated from the following file: