System.Security.AccessControl.SemaphoreAuditRule
Represents a set of access rights to be audited for a user or group. This class cannot be inherited.
Gets the access rights affected by the audit rule.
public SemaphoreAuditRule(IdentityReference identity, SemaphoreRights eventRights, AuditFlags flags)
Initializes a new instance of the SemaphoreAuditRule class, specifying the user or group to audit, the rights to audit, and whether to audit success, failure, or both.