PyACL.AddAccessAllowedAceEx

AddAccessAllowedAceEx(revision, aceflags, access, sid)

Add access allowed ACE to an ACL with ACE flags (Requires Win2k or higher)

Parameters

revision : int

Must be at least ACL_REVISION_DS

aceflags : 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 granted to the specified SID.

sid : PySID

A SID object representing a user, group, or logon account being granted access.