Поделиться через


CAccessToken::Attach

Call this method to take ownership of the given access token handle.

void Attach(
   HANDLE hToken
) throw( );

Параметры

  • hToken
    A handle to the access token.

Заметки

In debug builds, an assertion error will occur if the CAccessToken object already has ownership of an access token.

Требования

Header: atlsecurity.h

См. также

Основные понятия

CAccessToken Class

CAccessToken Members

CAccessToken::Detach