Notitie
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen u aan te melden of de directory te wijzigen.
Voor toegang tot deze pagina is autorisatie vereist. U kunt proberen de mappen te wijzigen.
Call this method to stop a thread from using an impersonation token.
bool Revert(
HANDLE hThread = NULL
) const throw( );
Parameters
- hThread
Handle to the thread to revert from impersonation. If hThread is NULL, the current thread is assumed.
Return Value
Returns true on success, false on failure.
Remarks
The reversion of impersonation tokens can be performed automatically with the CAutoRevertImpersonation Class.
Requirements
Header: atlsecurity.h