Exemple #1
0
 /// <summary>
 /// Removes all audit rules with the same user as the specified rule, regardless of the <see cref="AuditFlags"/> value, and then adds the specified rule.
 /// </summary>
 /// <param name="rule">The <see cref="TaskAuditRule"/> to add. The user specified by this rule determines the rules to remove before this rule is added.</param>
 public void SetAuditRule([NotNull] TaskAuditRule rule)
 {
     base.SetAuditRule(rule);
 }
Exemple #2
0
 /// <summary>
 /// Searches for an audit rule that exactly matches the specified rule and, if found, removes it.
 /// </summary>
 /// <param name="rule">The <see cref="TaskAuditRule"/> to remove.</param>
 public void RemoveAuditRuleSpecific([NotNull] TaskAuditRule rule)
 {
     base.RemoveAuditRuleSpecific(rule);
 }
Exemple #3
0
 /// <summary>
 /// Searches for an audit control rule with the same user as the specified rule, and with compatible inheritance and propagation flags; if a compatible rule is found, the rights contained in the specified rule are removed from it.
 /// </summary>
 /// <param name="rule">A <see cref="TaskAuditRule"/> that specifies the user to search for, and a set of inheritance and propagation flags that a matching rule, if found, must be compatible with. Specifies the rights to remove from the compatible rule, if found.</param>
 /// <returns><c>true</c> if a compatible rule is found; otherwise <c>false</c>.</returns>
 public bool RemoveAuditRule([NotNull] TaskAuditRule rule) => base.RemoveAuditRule(rule);
Exemple #4
0
 /// <summary>
 /// Searches for all audit rules with the same user as the specified rule and, if found, removes them.
 /// </summary>
 /// <param name="rule">A <see cref="TaskAuditRule"/> that specifies the user to search for. Any rights specified by this rule are ignored.</param>
 public void RemoveAuditRuleAll(TaskAuditRule rule)
 {
     base.RemoveAuditRuleAll(rule);
 }
Exemple #5
0
 /// <summary>
 /// Searches for an audit rule with which the new rule can be merged. If none are found, adds the new rule.
 /// </summary>
 /// <param name="rule">The audit rule to add. The user specified by this rule determines the search.</param>
 public void AddAuditRule([NotNull] TaskAuditRule rule)
 {
     base.AddAuditRule(rule);
 }