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


CAccessToken::SetOwner

Call this method to set the owner of the CAccessToken object.

bool SetOwner(
   const CSid& rSid
) throw(...);

Параметры

  • rSid
    The CSid Class object containing the owner information.

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

Returns true on success, false on failure.

Заметки

The owner is the default owner that is used for new objects created while this access token is in effect.

Требования

Header: atlsecurity.h

См. также

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

CAccessToken Class

CAccessToken Members

CAccessToken::GetOwner