WinStd
Windows Win32 API using Standard C++
|
Lets the calling thread impersonate the security context of the SYSTEM user. More...
#include <WinStd/Win.h>
Public Member Functions | |
system_impersonator () noexcept | |
Construct the impersonator and impersonates the SYSTEM user. | |
![]() | |
impersonator () noexcept | |
Construct the impersonator. | |
virtual | ~impersonator () |
Reverts to current user and destructs the impersonator. | |
operator bool () const | |
Did impersonation succeed? | |
Additional Inherited Members | |
![]() | |
BOOL | m_cookie |
Did impersonation succeed? | |
Lets the calling thread impersonate the security context of the SYSTEM user.