mscorlib(4.0.0.0) API with additions
MutexAccessRule.cs
2 
4 {
6  public sealed class MutexAccessRule : AccessRule
7  {
11 
24  public MutexAccessRule(IdentityReference identity, MutexRights eventRights, AccessControlType type)
25  : this(identity, (int)eventRights, isInherited: false, InheritanceFlags.None, PropagationFlags.None, type)
26  {
27  }
28 
42  public MutexAccessRule(string identity, MutexRights eventRights, AccessControlType type)
43  : this(new NTAccount(identity), (int)eventRights, isInherited: false, InheritanceFlags.None, PropagationFlags.None, type)
44  {
45  }
46 
47  internal MutexAccessRule(IdentityReference identity, int accessMask, bool isInherited, InheritanceFlags inheritanceFlags, PropagationFlags propagationFlags, AccessControlType type)
48  : base(identity, accessMask, isInherited, inheritanceFlags, propagationFlags, type)
49  {
50  }
51  }
52 }
PropagationFlags
Specifies how Access Control Entries (ACEs) are propagated to child objects. These flags are signific...
internal int AccessMask
Gets the access mask for this rule.
Represents an identity and is the base class for the T:System.Security.Principal.NTAccount and T:Syst...
Represents a combination of a user's identity, an access mask, and an access control type (allow or d...
Definition: AccessRule.cs:7
Definition: __Canon.cs:3
Represents a user or group account.
Definition: NTAccount.cs:10
MutexAccessRule(string identity, MutexRights eventRights, AccessControlType type)
Initializes a new instance of the T:System.Security.AccessControl.MutexAccessRule class,...
Represents a set of access rights allowed or denied for a user or group. This class cannot be inherit...
MutexRights MutexRights
Gets the rights allowed or denied by the access rule.
AccessControlType
Specifies whether an T:System.Security.AccessControl.AccessRule object is used to allow or deny acces...
MutexRights
Specifies the access control rights that can be applied to named system mutex objects.
Definition: MutexRights.cs:5
MutexAccessRule(IdentityReference identity, MutexRights eventRights, AccessControlType type)
Initializes a new instance of the T:System.Security.AccessControl.MutexAccessRule class,...
InheritanceFlags
Inheritance flags specify the semantics of inheritance for access control entries (ACEs).