PyACL.AddAuditAccessAce

AddAuditAccessAce(dwAceRevision, dwAccessMask, sid, bAuditSuccess, bAuditFailure)

Adds an audit ACE to a Sacl

Parameters

dwAceRevision : int

Revision of ACL: Pre-Win2k, must be ACL_REVISION. Win2K on up, can also be ACL_REVISION_DS

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