CAutoRevertImpersonation::CAutoRevertImpersonation
Constructs a CAutoRevertImpersonation object.
CAutoRevertImpersonation(
const CAccessToken* pAT
) throw( );
Параметры
- pAT
The address of the CAccessToken object to be reverted automatically.
Заметки
The actual impersonation of the access token should be performed separately from and preferably before the creation of a CAutoRevertImpersonation object. This impersonation will be reverted automatically when the CAutoRevertImpersonation object goes out of scope.
Требования
Header: atlsecurity.h
См. также
Основные понятия
CAutoRevertImpersonation Class