Share via


CSecurityDesc::GetControl

 

Retrieves control information from the security descriptor.

Syntax

      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

CSecurityDesc Class
CSecurityDesc::GetDacl
CSecurityDesc::GetGroup
CSecurityDesc::GetOwner
CSecurityDesc::GetSacl
CSecurityDesc::SetControl