<PackageReference Include="System.Security.AccessControl" Version="4.7.0" />

AuditRule<T>

public class AuditRule<T> : AuditRule where T : struct
Represents a combination of a user's identity and an access mask.
public T Rights { get; }

Gets the rights of the audit rule.

public AuditRule(IdentityReference identity, T rights, AuditFlags flags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

public AuditRule(IdentityReference identity, T rights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

public AuditRule(string identity, T rights, AuditFlags flags)

Initializes a new instance of the AuditRule<T> class by using the specified values.

public AuditRule(string identity, T rights, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AuditFlags flags)

Initializes a new instance of the AuditRule<T> class by using the specified values.