PyACL.AddAccessAllowedAce

AddAccessAllowedAce(revision, access, sid)

Adds an access-allowed ACE to an DACL object. The access is granted to a specified SID.

Parameters

revision : int

Pre-win2k, must be ACL_REVISION, otherwise also may be ACL_REVISION_DS.

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.

Alternative Parameters

access

Specifies the mask of access rights to be denied to the specified SID.

sid

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

Comments

Note that early versions of this function supported only two arguments. This has been deprecated in preference of the three argument version, which reflects the win32 API and the new functions in this module.