Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Automates the impersonation reversion of an access token.
void Attach(
const CAccessToken* pAT
) throw( );
Parameters
- pAT
The address of the CAccessToken object to be reverted automatically
Remarks
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.
Requirements
Header: atlsecurity.h
See Also
Concepts
CAutoRevertImpersonation Class