Platform SDK: Access Control

ISecurityInformation2::IsDaclCanonical

The IsDaclCanonical method determines whether the ACEs contained in the specified DACL structure are ordered according to the definition of DACL ordering implemented by the client

BOOL IsDaclCanonical(
  PACL pDacl
);

Parameters

pDacl
[in] Pointer to a discretionary ACL structure initialized by InitializeAcl.

Return Values

Returns TRUE if the ACEs contained in the specified DACL structure are ordered according to the definition of DACL ordering implemented by the client. Returns FALSE if the ACEs are misordered.

Remarks

If the return value of this method is FALSE, the access control editor will display a message box stating that the DACL is incorrectly ordered. If this method is not provided and the editor requires this information, the editor will check the DACL for Windows NT canonical ordering defined in Order of ACEs in a DACL.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Aclui.h.

See Also

Access Control Editor Overview, Access Control Editor Interfaces, ACL, InitializeAcl