PyACL.AddAuditAccessAceEx
AddAuditAccessAceEx(dwAceRevision, AceFlags, dwAccessMask, sid, bAuditSuccess, bAuditFailure)
Adds an audit ACE to an Sacl, includes ace flags
Parameters
dwAceRevision : int
Revision of ACL: Must be at least ACL_REVISION_DSAceFlags : int
Combination of
FAILED_ACCESS_ACE_FLAG,SUCCESSFUL_ACCESS_ACE_FLAG,CONTAINER_INHERIT_ACE,INHERIT_ONLY_ACE,INHERITED_ACE,NO_PROPAGATE_INHERIT_ACE
and OBJECT_INHERIT_ACEdwAccessMask : int
Bitmask of access types to be auditedsid : PySID
SID for whom system audit messages will be generatedbAuditSuccess : int
Set to 1 if access success should be audited, else 0bAuditFailure : int
Set to 1 if access failure should be audited, else 0