ldas-tools-al 2.6.7
 
Loading...
Searching...
No Matches
UserInfoCache Class Reference

Cache system information about users. More...

#include <UserInfoCache.hh>

Public Member Functions

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

Static Public Member Functions

static const UserInfo & UID (UserInfo::uid_type Id)
 Locate an entry based on the identification number of the user.
 
static const UserInfo & UID (UserInfo::uid_type Id)
 Locate an entry based on the identification number of the user.
 
static const UserInfo & Name (const std::string &Name)
 Locate an entry based on the system name of the user.
 
static const UserInfo & Name (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: