A logged-on user.
Definition: LoggedOnUser.h:8
void Impersonate()
impersonate the logged-on user
Definition: ImpersonatedUser.cpp:21
bool IsImpersonated() const
returns true if the user is impersonated
Definition: ImpersonatedUser.h:20
This class lets the calling thread manage the impersonated security context of a logged-on user...
Definition: ImpersonatedUser.h:8
void RevertToSelf()
revert to the prior security context of the currently impersonated thread
Definition: ImpersonatedUser.cpp:37
ImpersonatedUser()
Definition: ImpersonatedUser.cpp:7
virtual ~ImpersonatedUser()
Definition: ImpersonatedUser.cpp:13