CPrivateObjectSecurityDesc::Get

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

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

Parameters

  • 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.

Return Value

Returns true on success, false on failure.

Remarks

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

Requirements

Header: atlsecurity.h

See Also

Reference

CPrivateObjectSecurityDesc Class

GetPrivateObjectSecurity

CPrivateObjectSecurityDesc::Set