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


CAccessToken::GetLogonSessionId

Call this method to get the Logon Session ID associated with the CAccessToken object.

bool GetLogonSessionId(
   LUID* pluid
) const throw(...);

Параметры

  • pluid
    Pointer to a LUID which will receive the Logon Session ID.

Возвращаемое значение

Returns true on success, false on failure.

Заметки

In debug builds, an assertion error will occur if pluid is an invalid value.

Требования

Header: atlsecurity.h

См. также

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

CAccessToken Class

CAccessToken Members