Compartir a través de


CAutoRevertImpersonation::GetAccessToken

Retrieves the access token current associated with this object.

const CAccessToken* GetAccessToken() throw( );

Return Value

The address of the previously associated CAccessToken, or NULL if no association existed.

Remarks

If this method is called for the purposes that include the reversion of an impersonation of the CAccessToken object, the Detach method should be used instead.

Requirements

Header: atlsecurity.h

See Also

Reference

CAutoRevertImpersonation Class

CAccessToken Class