Compartir a través de


CAutoRevertImpersonation::~CAutoRevertImpersonation

Destroys the object and reverts access token impersonation.

~CAutoRevertImpersonation() throw( );

Remarks

Reverts any impersonation currently in effect for the CAccessToken object provided either at construction or through the Attach method. If no CAccessToken is associated, the destructor has no effect.

Requirements

Header: atlsecurity.h

See Also

Reference

CAutoRevertImpersonation Class

CAccessToken Class