PyACL Object

A Python object, representing a ACL structure

Methods

Initialize
Initialize the ACL. 

IsValid
Validate the ACL. 

AddAccessAllowedAce
Adds an access-allowed ACE to an ACL object. 

AddAccessAllowedAceEx
Same as AddAccessAllowedAce, with addition of ace flags 

AddAccessAllowedObjectAce
Adds an ACCESS_ALLOWED_OBJECT_ACE to the ACL 

AddAccessDeniedAce
Adds an access-denied ACE to an ACL object. 

AddAccessDeniedAceEx
Adds an access-denied ACE to an ACL object 

AddMandatoryAce
Adds a mandatory integrity level ACE to a SACL 

AddAccessAllowedObjectAce
Adds an ACCESS_DENIED_OBJECT_ACE to the ACL 

AddAuditAccessAce
Adds an audit entry to a system access control list (SACL) 

AddAuditAccessAceEx
Adds an audit ACE to an SACL with inheritance flags 

AddAuditAccessObjectAce
Adds an audit ACE for an object type identified by GUID 

GetAclSize
Returns the storage size of the ACL. 

GetAclRevision
Returns the revision nbr of the ACL. 

GetAceCount
Returns the number of ACEs in the ACL. 

GetAce
Returns an ACE from the ACL. 

DeleteAce
Delete an access-control entry (ACE) from an ACL 

GetExplicitEntriesFromAcl
Retrieve list of EXPLICIT_ACCESSs from the ACL 

SetEntriesInAcl
Adds a list of EXPLICIT_ACCESSs to an ACL 

GetEffectiveRightsFromAcl
Return access rights (ACCESS_MASK) that the ACL grants to specified trustee 

GetAuditedPermissionsFromAcl
Return types of access for which ACL will generate an audit event for specified trustee