Compartilhar via


CSecurityDesc::GetControl

Retrieves control information from the security descriptor.

bool GetControl( 
   SECURITY_DESCRIPTOR_CONTROL * psdc  
) const throw( );

Parameters

  • psdc
    Pointer to a SECURITY_DESCRIPTOR_CONTROL structure that receives the security descriptor's control information.

Return Value

Returns true if the method succeeds, false if it fails.

Remarks

This method is only meaningful when using Windows 2000 or later, as it calls GetSecurityDescriptorControl.

Requirements

Header: atlsecurity.h

See Also

Reference

CSecurityDesc Class

CSecurityDesc::GetDacl

CSecurityDesc::GetGroup

CSecurityDesc::GetOwner

CSecurityDesc::GetSacl

CSecurityDesc::SetControl