CAccessToken::GetEffectiveToken
Call this method to get the CAccessToken object equal to the access token in effect for the current thread.
bool GetEffectiveToken(
DWORD dwDesiredAccess
) throw( );
Параметры
- dwDesiredAccess
Specifies an access mask that specifies the requested types of access to the access token. These requested access types are compared with the token's DACL to determine which accesses are granted or denied.
Возвращаемое значение
Returns true on success, false on failure.
Требования
Header: atlsecurity.h