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_DS

AceFlags : 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_ACE

dwAccessMask : int

Bitmask of access types to be audited

sid : PySID

SID for whom system audit messages will be generated

bAuditSuccess : int

Set to 1 if access success should be audited, else 0

bAuditFailure : int

Set to 1 if access failure should be audited, else 0