mscorlib 2.0.0.0 4.0.0.0 System.Security.AccessControl.AccessRule

The class represents an abstraction of an underlying access control entry (ACE) that specifies a user account, the type of access to provide (read, write, and so on), and whether to allow or deny that right. This class can also specify how access rules are propagated to child objects.

Use the class to create a new access rule. You can persist the rule using the or class.

Represents an abstraction of an access control entry (ACE) that defines an access rule for a file or directory. This class cannot be inherited.

- Constructor
  2.0.0.0
  4.0.0.0

  Use this constructor to create an access control rule that you can persist using the or class. Access control rules define user account rights that determine which actions are allowed or disallowed on computers running Microsoft Windows.

  Initializes a new instance of the class using a reference to a user account, a value that specifies the type of operation associated with the access rule, and a value that specifies whether to allow or deny the operation.

  An object that encapsulates a reference to a user account.
  One of the values that specifies the type of operation associated with the access rule.
  One of the values that specifies whether to allow or deny the operation.
- Constructor
  2.0.0.0
  4.0.0.0

  Use this constructor to create an access control rule that you can persist using the or class. Access control rules define user account rights that determine which actions are allowed or disallowed on computers running Microsoft Windows.

  The parameter must identify a valid account on the current computer or domain. The string takes the following form, where is the name of a valid domain or computer name and is the name of a valid user account on a domain or computer: .

  Initializes a new instance of the class using the name of a user account, a value that specifies the type of operation associated with the access rule, and a value that describes whether to allow or deny the operation.

  The name of a user account.
  One of the values that specifies the type of operation associated with the access rule.
  One of the values that specifies whether to allow or deny the operation.
- Constructor
  2.0.0.0
  4.0.0.0

  Use this constructor to create an access control rule that you can persist using the or class. Access control rules define user account rights that determine which actions are allowed or disallowed on computers running Microsoft Windows.

  Initializes a new instance of the class using a reference to a user account, a value that specifies the type of operation associated with the access rule, a value that determines how rights are inherited, a value that determines how rights are propagated, and a value that specifies whether to allow or deny the operation.

  An object that encapsulates a reference to a user account.
  One of the values that specifies the type of operation associated with the access rule.
  One of the values that specifies how access masks are propagated to child objects.
  One of the values that specifies how Access Control Entries (ACEs) are propagated to child objects.
  One of the values that specifies whether to allow or deny the operation.
- Constructor
  2.0.0.0
  4.0.0.0

  Use this constructor to create an access control rule that you can persist using the or class. Access control rules define user account rights that determine which actions are allowed or disallowed on computers running Microsoft Windows.

  The parameter must identify a valid account on the current computer or domain. The string takes the following form, where is the name of a valid domain or computer name and is the name of a valid user account on a domain or computer: .

  Initializes a new instance of the class using the name of a user account, a value that specifies the type of operation associated with the access rule, a value that determines how rights are inherited, a value that determines how rights are propagated, and a value that specifies whether to allow or deny the operation.

  The name of a user account.
  One of the values that specifies the type of operation associated with the access rule.
  One of the values that specifies how access masks are propagated to child objects.
  One of the values that specifies how Access Control Entries (ACEs) are propagated to child objects.
  One of the values that specifies whether to allow or deny the operation.
- Property
  2.0.0.0
  4.0.0.0
  System.Security.AccessControl.FileSystemRights To be added. To be added.

  Gets the flags associated with the current object.