PyACL.AddAuditAccessObjectAce
AddAuditAccessObjectAce(dwAceRevision, AceFlags, dwAccessMask, ObjectTypeGuid, InheritedObjectTypeGuid, sid, bAuditSuccess, bAuditFailure)
Adds an audit ACE for an object type identified by GUID
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 auditedObjectTypeGuid : PyIID
GUID of object type or property set to which ace applies, can be NoneInheritedObjectTypeGuid : PyIID
GUID of object type or property that will inherit ACE, can be Nonesid : 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