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


CAccessToken::GetOwner

Call this method to get the owner associated with the CAccessToken object.

bool GetOwner(
   CSid* pSid
) const throw(...);

Параметры

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

Returns true on success, false on failure.

Заметки

The owner is set by default on any objects created while this access token is in effect.

Требования

Header: atlsecurity.h

См. также

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

CAccessToken Class

CAccessToken Members

CAccessToken::SetOwner