共用方式為


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

Concepts

CSecurityDesc Class

CSecurityDesc Members

CSecurityDesc::GetDacl

CSecurityDesc::GetGroup

CSecurityDesc::GetOwner

CSecurityDesc::GetSacl

CSecurityDesc::SetControl