Gray C++ Libraries  0.0.2
A set of C++ libraries for MSVC, GNU on Windows, WinCE, Linux
GrayLib::cAuthUser Class Reference

#include <cAuthUser.h>

Inheritance diagram for GrayLib::cAuthUser:
IAuthUser

Public Member Functions

 cAuthUser () noexcept
 
virtual ~cAuthUser ()
 
 STDMETHOD_ (cString, get_Name)() const
 
 STDMETHOD_ (PLEVEL_TYPE, get_PrivLevel)() const
 
 STDMETHOD_ (bool, CanBeDetectedBy)(const IAuthUser *pViewer) const
 

Detailed Description

The user/account that might issue script commands. Perhaps NOT the same as cOSUser. Base class for a CAccount,CUser. Retrieve config blobs for an app ?

Constructor & Destructor Documentation

◆ cAuthUser()

GrayLib::cAuthUser::cAuthUser ( )
inlinenoexcept

◆ ~cAuthUser()

virtual GrayLib::cAuthUser::~cAuthUser ( )
inlinevirtual

Member Function Documentation

◆ STDMETHOD_() [1/3]

GrayLib::cAuthUser::STDMETHOD_ ( bool  ,
CanBeDetectedBy   
) const
inline

IAuthUser Security test. Can pViewer detected this console? Some objects (clients) are invisible to consoles (typically based on PLEVEL_TYPE and user preference).

◆ STDMETHOD_() [2/3]

GrayLib::cAuthUser::STDMETHOD_ ( cString  ,
get_Name   
) const
inline

IAuthUser Name of the user/account. Default user.

◆ STDMETHOD_() [3/3]

GrayLib::cAuthUser::STDMETHOD_ ( PLEVEL_TYPE  ,
get_PrivLevel   
) const
inline

IAuthUser What base privilege/authorization level do I (user) have ? PLEVEL_TYPE Higher = more.


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