Removes all audit rules with the same user as the specified rule, regardless of the System.Security.AccessControl.AuditFlags value, and then adds the specified rule.
- rule
- The System.Security.AccessControl.SemaphoreAuditRule to add. The user specified by this rule determines the rules to remove before this rule is added.