CMS 3D CMS Logo

lat::UserInfo Class Reference

Describe a user, and by default the current user. More...

#include <Iguana/Utilities/classlib/utils/UserInfo.h>

List of all members.

Public Member Functions

std::string domain (void)
GID gid (bool effective=true)
std::string homedir (void)
std::string homedrive (void)
std::string id (void)
std::string logonserver (void)
std::string name (void)
std::string password (void)
std::string shell (void)
UID uid (bool effective=true)

Static Public Member Functions

static UserInfoself (void)
static UserInfouser (const std::string &id)

Private Member Functions

 UserInfo (struct passwd *entry, UserInfo *next)
 UserInfo (const std::string &id, UserInfo *next)

Private Attributes

std::string m_domain
GID m_egid
UID m_euid
GID m_gid
std::string m_homedrive
std::string m_homepath
std::string m_id
std::string m_logsrv
std::string m_name
UserInfom_next
std::string m_password
std::string m_shell
UID m_uid

Static Private Attributes

static UserInfos_self
static UserInfos_users


Detailed Description

Describe a user, and by default the current user.

Definition at line 26 of file UserInfo.h.


Constructor & Destructor Documentation

lat::UserInfo::UserInfo ( const std::string &  id,
UserInfo next 
) [private]

lat::UserInfo::UserInfo ( struct passwd *  entry,
UserInfo next 
) [private]


Member Function Documentation

std::string lat::UserInfo::domain ( void   ) 

GID lat::UserInfo::gid ( bool  effective = true  ) 

std::string lat::UserInfo::homedir ( void   ) 

Referenced by IgConfigElement::initConfiguration().

std::string lat::UserInfo::homedrive ( void   ) 

std::string lat::UserInfo::id ( void   ) 

Referenced by IgConfigElement::initConfiguration().

std::string lat::UserInfo::logonserver ( void   ) 

std::string lat::UserInfo::name ( void   ) 

Referenced by IgConfigElement::initConfiguration().

std::string lat::UserInfo::password ( void   ) 

static UserInfo* lat::UserInfo::self ( void   )  [static]

Referenced by IgConfigElement::initConfiguration().

std::string lat::UserInfo::shell ( void   ) 

Referenced by IgConfigElement::initConfiguration().

UID lat::UserInfo::uid ( bool  effective = true  ) 

Referenced by IgConfigElement::initConfiguration().

static UserInfo* lat::UserInfo::user ( const std::string &  id  )  [static]


Member Data Documentation

std::string lat::UserInfo::m_domain [private]

Definition at line 58 of file UserInfo.h.

GID lat::UserInfo::m_egid [private]

Definition at line 54 of file UserInfo.h.

UID lat::UserInfo::m_euid [private]

Definition at line 52 of file UserInfo.h.

GID lat::UserInfo::m_gid [private]

Definition at line 53 of file UserInfo.h.

std::string lat::UserInfo::m_homedrive [private]

Definition at line 61 of file UserInfo.h.

std::string lat::UserInfo::m_homepath [private]

Definition at line 60 of file UserInfo.h.

std::string lat::UserInfo::m_id [private]

Definition at line 55 of file UserInfo.h.

std::string lat::UserInfo::m_logsrv [private]

Definition at line 59 of file UserInfo.h.

std::string lat::UserInfo::m_name [private]

Definition at line 57 of file UserInfo.h.

UserInfo* lat::UserInfo::m_next [private]

Definition at line 50 of file UserInfo.h.

std::string lat::UserInfo::m_password [private]

Definition at line 56 of file UserInfo.h.

std::string lat::UserInfo::m_shell [private]

Definition at line 62 of file UserInfo.h.

UID lat::UserInfo::m_uid [private]

Definition at line 51 of file UserInfo.h.

UserInfo* lat::UserInfo::s_self [static, private]

Definition at line 47 of file UserInfo.h.

UserInfo* lat::UserInfo::s_users [static, private]

Definition at line 48 of file UserInfo.h.


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:48:36 2009 for CMSSW by  doxygen 1.5.4