PyACL.AddAccessDeniedAceEx
AddAccessDeniedAceEx(revision, aceflags, access, sid)
Add access denied ACE to an ACL with ACE flags (Requires Win2k or higher)
Parameters
revision : int
Must be at least ACL_REVISION_DSaceflags : int
Combination of ACE inheritance flags
(CONTAINER_INHERIT_ACE,INHERIT_ONLY_ACE,INHERITED_ACE,NO_PROPAGATE_INHERIT_ACE, and OBJECT_INHERIT_ACE)access : int
Specifies the mask of access rights to be denied to the specified SID.sid : PySID
A SID object representing a user, group, or logon account being denied access.