Share via


CDacl::CDacl

The constructor.

CDacl ( 
   const ACL & rhs  
) throw(...); 
CDacl ( ) throw( );

Parameters

  • rhs
    An existing ACL (access-control list) structure.

Remarks

The CDacl object can be optionally created using an existing ACL structure. It is important to note that only a DACL (discretionary access-control list), and not a SACL (system access-control list), should be passed as this parameter. In debug builds, passing a SACL will cause an ASSERT. In release builds, passing a SACL will cause the ACEs (access-control entries) in the ACL to be ignored, and no error will occur.

Requirements

Header: atlsecurity.h

See Also

Reference

CDacl Class