PyACL.AddAccessAllowedObjectAce
AddAccessAllowedObjectAce(AceRevision, AceFlags, AccessMask, ObjectTypeGuid, InheritedObjectTypeGuid, sid)
Adds an ACCESS_ALLOWED_OBJECT_ACE to the ACL
Parameters
AceRevision : 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)AccessMask : int
Specifies the mask of access rights to be granted to the specified SIDObjectTypeGuid : 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
A SID object representing a user, group, or logon account being granted access.