CAutoRevertImpersonation Members

Methods

Attach

Automates the impersonation reversion of an access token.

CAutoRevertImpersonation

Constructs an CAutoRevertImpersonation object

~CAutoRevertImpersonation

Destroys the object and reverts access token impersonation.

Detach

Cancels the automatic impersonation reversion.

GetAccessToken

Retrieves the access token current associated with this object.

See Also

Reference

CAutoRevertImpersonation Class

CAccessToken Class