Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class System.​Security.​AccessControl.​AccessRule
Assembly: System.Security.AccessControl
Inheritance: object → AuthorizationRule → AccessRule
Represents a combination of a user's identity, an access mask, and an access control type (allow or deny). An <see cref="T:System.Security.AccessControl.AccessRule" /> object also contains information about how the rule is inherited by child objects and how that inheritance is propagated.
Properties
public
AccessControlType
AccessControlType
Gets the <see cref="T:System.Security.AccessControl.AccessControlType" /> value associated with this <see cref="T:System.Security.AccessControl.AccessRule" /> object.
IdentityReference
Gets the <see cref="T:System.Security.Principal.IdentityReference" /> to which this rule applies.
public
InheritanceFlags
InheritanceFlags
Gets the value of flags that determine how this rule is inherited by child objects.
public
bool
IsInherited
Gets a value indicating whether this rule is explicitly set or is inherited from a parent container object.
public
PropagationFlags
PropagationFlags
Gets the value of the propagation flags, which determine how inheritance of this rule is propagated to child objects. This property is significant only when the value of the <see cref="T:System.Security.AccessControl.InheritanceFlags" /> enumeration is not <see cref="F:System.Security.AccessControl.InheritanceFlags.None" /> .
Methods
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object