System.Security.AccessControl.FileSystemAccessRule 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.

See Also: FileSystemAccessRule Members

Syntax

public sealed class FileSystemAccessRule : AccessRule

Remarks

The System.Security.AccessControl.FileSystemAccessRule 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 System.Security.AccessControl.FileSystemAccessRule class to create a new access rule. You can persist the rule using the System.Security.AccessControl.FileSecurity or System.Security.AccessControl.DirectorySecurity class.

Requirements

Namespace: System.Security.AccessControl
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0