ldas-tools-al  2.6.4
Classes | Public Member Functions | Static Public Member Functions | List of all members
LDASTools::AL::UserInfoCache Class Reference

Cache system information about users. More...

#include <UserInfoCache.hh>

Classes

class  UserInfo
 Class to manage information about a single user. More...
 

Public Member Functions

 ~UserInfoCache ()
 Destructor to release system resources. More...
 
 ~UserInfoCache ()
 Destructor to release system resources.
 

Static Public Member Functions

static const UserInfoUID (UserInfo::uid_type Id)
 Locate an entry based on the identification number of the user. More...
 
static const UserInfoName (const std::string &Name)
 Locate an entry based on the system name of the user.
 
static const UserInfoUID (UserInfo::uid_type Id)
 Locate an entry based on the identification number of the user.
 
static const UserInfoName (const std::string &Name)
 Locate an entry based on the system name of the user.
 

Detailed Description

Cache system information about users.

The information stored within this class contains information about the users that have access to current machine.

Note
This information is currently static. It is gathered when the shared object is loaded and is never updated.

Constructor & Destructor Documentation

◆ ~UserInfoCache()

LDASTools::AL::UserInfoCache::~UserInfoCache ( )

Destructor to release system resources.

Release resource associated with this object

Todo:
Release the m_names and m_cache resource. Need to be sure to use the baton to insure exclusive rights.

Member Function Documentation

◆ UID()

const UserInfoCache::UserInfo & LDASTools::AL::UserInfoCache::UID ( UserInfo::uid_type  Id)
inlinestatic

Locate an entry based on the identification number of the user.

Supply the caller with the full set of information known about the user assoicated with the giver user identification number.


The documentation for this class was generated from the following files: