Adds an Access Control Entry (ACE) with the specified settings to the current System.Security.AccessControl.DiscretionaryAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type for the new ACE.
- accessType
- The type of access control (allow or deny) to add.
- sid
- The System.Security.Principal.SecurityIdentifier for which to add an ACE.
- accessMask
- The access rule for the new ACE.
- inheritanceFlags
- Flags that specify the inheritance properties of the new ACE.
- propagationFlags
- Flags that specify the inheritance propagation properties for the new ACE.
- objectFlags
- Flags that specify if the objectType and inheritedObjectType parameters contain non-null values.
- objectType
- The identity of the class of objects to which the new ACE applies.
- inheritedObjectType
- The identity of the class of child objects which can inherit the new ACE.