System.Security.AccessControl.SemaphoreAccessRule
Represents a set of access rights allowed or denied for a user or group. This class cannot be inherited.
Gets the rights allowed or denied by the access rule.
public SemaphoreAccessRule(IdentityReference identity, SemaphoreRights eventRights, AccessControlType type)
Initializes a new instance of the SemaphoreAccessRule class, specifying the user or group the rule applies to, the access rights, and whether the specified access rights are allowed or denied.
Initializes a new instance of the SemaphoreAccessRule class, specifying the name of the user or group the rule applies to, the access rights, and whether the specified access rights are allowed or denied.