Initializes a new instance of the System.Security.AccessControl.AuditRule class with the specified values.
- identityReference
The identity to which the audit rule applies. It must be an object that can be cast as a System.Security.Principal.SecurityIdentifier.
- accessMask
The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators.
- isInherited
true if this rule is inherited from a parent container.
- inheritanceFlags
Specifies the inheritance properties of the audit rule.
- propagationFlags
Specifies whether inherited audit rules are automatically propagated. The propagation flags are ignored if inheritanceFlags is set to InheritanceFlags.None.
- flags
Specifies the conditions for which the rule is audited.
- objectType
The identity of the class of objects to which the new audit rule applies.
- inheritedObjectType
The identity of the class of child objects which can inherit the new audit rule.
![]()
The System.Security.AccessControl.AuditRule object that this method creates.