Class which represents a POSIX account. More...
#include <kockpitaccount.h>

Public Member Functions | |
| KockpitAccount () | |
| Standard Constructor. | |
| KockpitAccount (const QString &uid, const QString &homeDir, const QString &loginShell, const QString &domain, const QString &sid, const QString &primGrpSid, const QStringList &memberOf, int shadowLastChange, int shadowMin, int shadowMax, int shadowWarning, int shadowInactive, int shadowExpire, int uidNumber, int gidNumber, int rid) | |
| Constructor. | |
| virtual | ~KockpitAccount () |
| Destructor. | |
| QString | toQString () const |
| Generate output. | |
| virtual QString | getUid () const |
| Getter. | |
| virtual QString | getHomeDir () const |
| Getter. | |
| virtual QString | getLoginShell () const |
| Getter. | |
| virtual QString | getDescription () const |
| Getter. | |
| virtual QString | getDomain () const |
| Getter. | |
| virtual QString | getSid () const |
| Getter. | |
| virtual QString | getPrimGrpSid () const |
| Getter. | |
| virtual QString | getAuthTok () const |
| Getter. | |
| virtual QStringList | getMemberOf () const |
| Getter. | |
| virtual int | getShadowLastChange () const |
| Getter. | |
| virtual int | getShadowMin () const |
| Getter. | |
| virtual int | getShadowMax () const |
| Getter. | |
| virtual int | getShadowWarning () const |
| Getter. | |
| virtual int | getShadowInactive () const |
| Getter. | |
| virtual int | getShadowExpire () const |
| Getter. | |
| virtual int | getUidNumber () const |
| Getter. | |
| virtual int | getGidNumber () const |
| Getter. | |
| virtual int | getRid () const |
| Getter. | |
| virtual void | setUid (const QString &uid) |
| Setter. | |
| virtual void | setHomeDir (const QString &homeDir) |
| Setter. | |
| virtual void | setLoginShell (const QString &loginShell) |
| Setter. | |
| virtual void | setDescription (const QString &description) |
| Setter. | |
| virtual void | setDomain (const QString &domain) |
| Setter. | |
| virtual void | setSid (const QString &sid) |
| Setter. | |
| virtual void | setPrimGrpSid (const QString &primGrpSid) |
| Setter. | |
| virtual void | setAuthTok (const QString &authTok) |
| Setter. | |
| virtual void | setMemberOf (const QStringList &memberof) |
| Setter. | |
| virtual void | setShadowLastChange (int shadowLastChange) |
| Setter. | |
| virtual void | setShadowMin (int shadowMin) |
| Setter. | |
| virtual void | setShadowMax (int shadowMax) |
| Setter. | |
| virtual void | setShadowWarning (int shadowWarning) |
| Setter. | |
| virtual void | setShadowInactive (int shadowInactive) |
| Setter. | |
| virtual void | setShadowExpire (int shadowExpire) |
| Setter. | |
| virtual void | setUidNumber (int uidNumber) |
| Setter. | |
| virtual void | setGidNumber (int gidNumber) |
| Setter. | |
| virtual void | setRid (int rid) |
| Setter. | |
Protected Attributes | |
| QString | uid |
| The user id of the user. | |
| QString | homeDir |
| The path to the home directory. | |
| QString | loginShell |
| The user id of the user. | |
| QString | description |
| The user id of the user. | |
| QString | domain |
| The domain of the user. | |
| QString | sid |
| Samba Sid of the user. | |
| QString | primGrpSid |
| Sid of the users primary group. | |
| QString | authTok |
| The user id of the user. | |
| QStringList | memberOf |
| List which contains the groups of the user. | |
| int | shadowLastChange |
| The time of password change. | |
| int | shadowMin |
| Contains the minimum number of days between shadow changes. | |
| int | shadowMax |
| Contains the maximum number of days a password can be valid. | |
| int | shadowWarning |
| Contains the number of days before the password expires to warn the user. | |
| int | shadowInactive |
| Contains the number of days of inactivity that is allowed for the user. | |
| int | shadowExpire |
| Contains the absolute date to expire the account. | |
| int | uidNumber |
| The user id number of the user. | |
| int | gidNumber |
| The gidNumber of the user. | |
| int | rid |
| The samba rid of the user. | |
Friends | |
| class | XMLMapReader |
| std::ostream & | operator<< (std::ostream &output, const KockpitAccount &kacc) |
| Output. | |
Class which represents a POSIX account.
This class represents a POSIX account.
| KockpitAccount::KockpitAccount | ( | ) |
Standard Constructor.
Only initialize int values to zero
| KockpitAccount::KockpitAccount | ( | const QString & | uid, | |
| const QString & | homeDir, | |||
| const QString & | loginShell, | |||
| const QString & | domain, | |||
| const QString & | sid, | |||
| const QString & | primGrpSid, | |||
| const QStringList & | memberOf, | |||
| int | shadowLastChange, | |||
| int | shadowMin, | |||
| int | shadowMax, | |||
| int | shadowWarning, | |||
| int | shadowInactive, | |||
| int | shadowExpire, | |||
| int | uidNumber, | |||
| int | gidNumber, | |||
| int | rid | |||
| ) |
Constructor.
| uid | The user id of the user. | |
| homeDir | The path to the home directory. | |
| loginShell | Login Shell of the user. | |
| domain | Domain of the user. | |
| sid | Samba Sid of the user | |
| primGrpSid | Sid of the users primary group. | |
| memberOf | List which contains the groups of the user. | |
| shadowLastChange | The time of password change. | |
| shadowMin | Contains the minimum number of days between shadow changes. | |
| shadowMax | Contains the maximum number of days a password can be valid. | |
| shadowWarning | Contains the number of days before the password expires to warn the user. | |
| shadowInactive | Contains the number of days of inactivity that is allowed for the user. | |
| shadowExpire | Contains the absolute date to expire the account. | |
| uidNumber | The user id number of the user. | |
| gidNumber | The gidNumber of the user. | |
| rid | The samba rid of the user. |
| virtual KockpitAccount::~KockpitAccount | ( | ) | [inline, virtual] |
Destructor.
| QString KockpitAccount::getAuthTok | ( | ) | const [virtual] |
Getter.
| QString KockpitAccount::getDescription | ( | ) | const [virtual] |
Getter.
| QString KockpitAccount::getDomain | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getGidNumber | ( | ) | const [virtual] |
Getter.
| QString KockpitAccount::getHomeDir | ( | ) | const [virtual] |
Getter.
| QString KockpitAccount::getLoginShell | ( | ) | const [virtual] |
Getter.
| QStringList KockpitAccount::getMemberOf | ( | ) | const [virtual] |
Getter.
| QString KockpitAccount::getPrimGrpSid | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getRid | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getShadowExpire | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getShadowInactive | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getShadowLastChange | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getShadowMax | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getShadowMin | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getShadowWarning | ( | ) | const [virtual] |
Getter.
| QString KockpitAccount::getSid | ( | ) | const [virtual] |
Getter.
| QString KockpitAccount::getUid | ( | ) | const [virtual] |
Getter.
| int KockpitAccount::getUidNumber | ( | ) | const [virtual] |
Getter.
| void KockpitAccount::setAuthTok | ( | const QString & | authTok | ) | [virtual] |
Setter.
| void KockpitAccount::setDescription | ( | const QString & | description | ) | [virtual] |
Setter.
| void KockpitAccount::setDomain | ( | const QString & | domain | ) | [virtual] |
Setter.
| void KockpitAccount::setGidNumber | ( | int | gidNumber | ) | [virtual] |
Setter.
| void KockpitAccount::setHomeDir | ( | const QString & | homeDir | ) | [virtual] |
Setter.
| void KockpitAccount::setLoginShell | ( | const QString & | loginShell | ) | [virtual] |
Setter.
| void KockpitAccount::setMemberOf | ( | const QStringList & | memberof | ) | [virtual] |
Setter.
| void KockpitAccount::setPrimGrpSid | ( | const QString & | primGrpSid | ) | [virtual] |
Setter.
| void KockpitAccount::setRid | ( | int | rid | ) | [virtual] |
Setter.
| void KockpitAccount::setShadowExpire | ( | int | shadowExpire | ) | [virtual] |
Setter.
| void KockpitAccount::setShadowInactive | ( | int | shadowInactive | ) | [virtual] |
Setter.
| void KockpitAccount::setShadowLastChange | ( | int | shadowLastChange | ) | [virtual] |
Setter.
| void KockpitAccount::setShadowMax | ( | int | shadowMax | ) | [virtual] |
Setter.
| void KockpitAccount::setShadowMin | ( | int | shadowMin | ) | [virtual] |
Setter.
| void KockpitAccount::setShadowWarning | ( | int | shadowWarning | ) | [virtual] |
Setter.
| void KockpitAccount::setSid | ( | const QString & | sid | ) | [virtual] |
Setter.
| void KockpitAccount::setUid | ( | const QString & | uid | ) | [virtual] |
Setter.
| void KockpitAccount::setUidNumber | ( | int | uidNumber | ) | [virtual] |
Setter.
| QString KockpitAccount::toQString | ( | ) | const |
Generate output.
This function create a QString which contains all informations about the object. It is only needed for inforamtional output.
Reimplemented in KockpitUser.
| std::ostream& operator<< | ( | std::ostream & | output, | |
| const KockpitAccount & | kacc | |||
| ) | [friend] |
Output.
This function is only needed to give out the KockpitAccount on STDOUT.
| output | reference to stdout. | |
| kacc | reference to an AttributeMap object. |
friend class XMLMapReader [friend] |
QString KockpitAccount::authTok [protected] |
The user id of the user.
QString KockpitAccount::description [protected] |
The user id of the user.
Reimplemented in KockpitUser.
QString KockpitAccount::domain [protected] |
The domain of the user.
Reimplemented in KockpitUser.
int KockpitAccount::gidNumber [protected] |
The gidNumber of the user.
Reimplemented in KockpitUser.
QString KockpitAccount::homeDir [protected] |
The path to the home directory.
Reimplemented in KockpitUser.
QString KockpitAccount::loginShell [protected] |
The user id of the user.
Reimplemented in KockpitUser.
QStringList KockpitAccount::memberOf [protected] |
List which contains the groups of the user.
Reimplemented in KockpitUser.
QString KockpitAccount::primGrpSid [protected] |
Sid of the users primary group.
Reimplemented in KockpitUser.
int KockpitAccount::rid [protected] |
The samba rid of the user.
Reimplemented in KockpitUser.
int KockpitAccount::shadowExpire [protected] |
Contains the absolute date to expire the account.
Reimplemented in KockpitUser.
int KockpitAccount::shadowInactive [protected] |
Contains the number of days of inactivity that is allowed for the user.
Reimplemented in KockpitUser.
int KockpitAccount::shadowLastChange [protected] |
The time of password change.
Reimplemented in KockpitUser.
int KockpitAccount::shadowMax [protected] |
Contains the maximum number of days a password can be valid.
Reimplemented in KockpitUser.
int KockpitAccount::shadowMin [protected] |
Contains the minimum number of days between shadow changes.
Reimplemented in KockpitUser.
int KockpitAccount::shadowWarning [protected] |
Contains the number of days before the password expires to warn the user.
Reimplemented in KockpitUser.
QString KockpitAccount::sid [protected] |
Samba Sid of the user.
Reimplemented in KockpitUser.
QString KockpitAccount::uid [protected] |
The user id of the user.
Reimplemented in KockpitUser.
int KockpitAccount::uidNumber [protected] |
The user id number of the user.
Reimplemented in KockpitUser.
1.6.3