CAutoRevertImpersonation::Attach
Automates the impersonation reversion of an access token.
void Attach(
const CAccessToken* pAT
) throw( );
Параметры
- pAT
The address of the CAccessToken object to be reverted automatically
Заметки
This method should only be used if the CAutoRevertImpersonation object was created with a NULL CAccessToken pointer, or if Detach was called previously. For simple cases, it is not necessary to use this method.
Требования
Header: atlsecurity.h
См. также
Основные понятия
CAutoRevertImpersonation Class