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


CPrivateObjectSecurityDesc::Get

Call this method to retrieve information from a private object's security descriptor.

bool Get(
   SECURITY_INFORMATION si,
   CSecurityDesc* pResult 
) const throw( );

Параметры

  • si
    A set of bit flags that indicate the parts of the security descriptor to retrieve. This value can be a combination of the SECURITY_INFORMATION bit flags.

  • pResult
    Pointer to a CSecurityDesc object that receives a copy of the requested information from the specified security descriptor.

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

Returns true on success, false on failure.

Заметки

The security descriptor is a structure and associated data that contains the security information for a securable object.

Требования

Header: atlsecurity.h

См. также

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

CPrivateObjectSecurityDesc Class

CPrivateObjectSecurityDesc Members

GetPrivateObjectSecurity

CPrivateObjectSecurityDesc::Set