|
WinStd
Windows Win32 API using Standard C++
|
Base class for thread impersonation of another security context. More...
#include <WinStd/Win.h>
Public Member Functions | |
| impersonator () noexcept | |
| Construct the impersonator. | |
| virtual | ~impersonator () |
| Reverts to current user and destructs the impersonator. | |
| operator bool () const | |
| Did impersonation succeed? | |
Protected Attributes | |
| BOOL | m_cookie |
| Did impersonation succeed? | |
Base class for thread impersonation of another security context.
|
inlinevirtual |
Reverts to current user and destructs the impersonator.