ldas-tools-al 2.6.7
|
Class to manage information about a single user. More...
#include <UserInfoCache.hh>
Public Types | |
typedef INT_4U | uid_type |
typedef INT_4U | gid_type |
typedef INT_4U | uid_type |
typedef INT_4U | gid_type |
typedef INT_4U | uid_type |
typedef INT_4U | gid_type |
Public Member Functions | |
UserInfo () | |
constructor More... | |
UserInfo (const char *Name, const char *Password, const uid_type UID, const gid_type GID, const char *Gecos, const char *HomeDir, const char *Shell) | |
constructor More... | |
const std::string & | Name () const |
Supply the system name of the user. More... | |
gid_type | GID () const |
Supply the caller with the user's group id. More... | |
uid_type | UID () const |
Supply the caller with user's id. More... | |
UserInfo () | |
constructor More... | |
UserInfo (const char *Name, const char *Password, const uid_type UID, const gid_type GID, const char *Gecos, const char *HomeDir, const char *Shell) | |
constructor More... | |
const std::string & | Name () const |
Supply the system name of the user. More... | |
gid_type | GID () const |
Supply the caller with the user's group id. More... | |
uid_type | UID () const |
Supply the caller with user's id. More... | |
UserInfo () | |
constructor More... | |
UserInfo (const char *Name, const char *Password, const uid_type UID, const gid_type GID, const char *Gecos, const char *HomeDir, const char *Shell) | |
constructor More... | |
const std::string & | Name () const |
Supply the system name of the user. More... | |
gid_type | GID () const |
Supply the caller with the user's group id. More... | |
uid_type | UID () const |
Supply the caller with user's id. More... | |
Private Attributes | |
std::string | m_name |
System name of the user. More... | |
std::string | m_password |
Encrypted password for user. More... | |
uid_type | m_uid |
User identification number. More... | |
gid_type | m_gid |
Group identification number. More... | |
std::string | m_gecos |
Full name for the user. More... | |
std::string | m_home_dir |
The home directory for the user. More... | |
std::string | m_shell |
The login shell for the user. More... | |
Class to manage information about a single user.
|
inline |
constructor
This is the default constructor.
|
inline |
constructor
This constructor fills in the information suppled by reading each of the password entries.
LDASTools::AL::UserInfoCache::UserInfo::UserInfo | ( | ) |
constructor
LDASTools::AL::UserInfoCache::UserInfo::UserInfo | ( | const char * | Name, |
const char * | Password, | ||
const uid_type | UID, | ||
const gid_type | GID, | ||
const char * | Gecos, | ||
const char * | HomeDir, | ||
const char * | Shell | ||
) |
constructor
LDASTools::AL::UserInfoCache::UserInfo::UserInfo | ( | ) |
constructor
LDASTools::AL::UserInfoCache::UserInfo::UserInfo | ( | const char * | Name, |
const char * | Password, | ||
const uid_type | UID, | ||
const gid_type | GID, | ||
const char * | Gecos, | ||
const char * | HomeDir, | ||
const char * | Shell | ||
) |
constructor
|
inline |
Supply the caller with the user's group id.
Supply the caller with user's group id.
gid_type LDASTools::AL::UserInfoCache::UserInfo::GID | ( | ) | const |
Supply the caller with the user's group id.
gid_type LDASTools::AL::UserInfoCache::UserInfo::GID | ( | ) | const |
Supply the caller with the user's group id.
|
inline |
Supply the system name of the user.
Supply the caller with the System Name.
const std::string & LDASTools::AL::UserInfoCache::UserInfo::Name | ( | ) | const |
Supply the system name of the user.
const std::string & LDASTools::AL::UserInfoCache::UserInfo::Name | ( | ) | const |
Supply the system name of the user.
|
inline |
Supply the caller with user's id.
uid_type LDASTools::AL::UserInfoCache::UserInfo::UID | ( | ) | const |
Supply the caller with user's id.
uid_type LDASTools::AL::UserInfoCache::UserInfo::UID | ( | ) | const |
Supply the caller with user's id.
|
private |
Full name for the user.
|
private |
Group identification number.
|
private |
The home directory for the user.
|
private |
System name of the user.
|
private |
Encrypted password for user.
|
private |
The login shell for the user.
|
private |
User identification number.