PipeAccessRights Enumeration
Defines the access rights to use when you create access and audit rules.
This enumeration has a FlagsAttribute attribute that allows a bitwise combination of its member values.
Namespace: System.IO.PipesAssembly: System.Core (in System.Core.dll)
| Member name | Description | |
|---|---|---|
| ReadData | Specifies the right to read data from the pipe. This does not include the right to read file system attributes, extended file system attributes, or access and audit rules. | |
| WriteData | Specifies the right to write data to a pipe. This does not include the right to write file system attributes or extended file system attributes. | |
| ReadAttributes | Specifies the right to read file system attributes from a pipe. This does not include the right to read data, extended file system attributes, or access and audit rules. | |
| WriteAttributes | Specifies the right to write file system attributes to a pipe. This does not include the right to write data or extended file system attributes. | |
| ReadExtendedAttributes | Specifies the right to read extended file system attributes from a pipe. This does not include the right to read data, file system attributes, or access and audit rules. | |
| WriteExtendedAttributes | Specifies the right to write extended file system attributes to a pipe. This does not include the right to write file attributes or data. | |
| CreateNewInstance | Specifies the right to create a new pipe. Setting this right also sets the Synchronize right. | |
| Delete | Specifies the right to delete a pipe. | |
| ReadPermissions | Specifies the right to read access and audit rules from the pipe. This does not include the right to read data, file system attributes, or extended file system attributes. | |
| ChangePermissions | Specifies the right to change the security and audit rules that are associated with a pipe. | |
| TakeOwnership | Specifies the right to change the owner of a pipe. Note that owners of a pipe have full access to that resource. | |
| Synchronize | Specifies whether the application can wait for a pipe handle to synchronize with the completion of an I/O operation. The Synchronize value is automatically set when allowing access to the pipe and automatically excluded when denying access to the pipe. The right to create a pipe requires this value. Note that if you do not explicitly set this value when you create a pipe, the value will be set automatically for you. | |
| FullControl | Specifies the right to exert full control over a pipe, and to modify access control and audit rules. This value represents the combination of all rights in this enumeration. | |
| Read | Specifies the right to read from the pipe. This right includes the ReadAttributes, ReadData, ReadExtendedAttributes, and ReadPermissions rights. | |
| Write | Specifies the right to write to the pipe. This right includes the WriteAttributes, WriteData, and WriteExtendedAttributes rights. | |
| ReadWrite | Specifies the right to read and write from the pipe. This right includes the ReadAttributes, ReadData, ReadExtendedAttributes, ReadPermissions, WriteAttributes, WriteData, and WriteExtendedAttributes rights. | |
| AccessSystemSecurity | Specifies the right to make changes to the system access control list (SACL). |
The PipeAccessRights enumeration specifies which file system actions are allowed for a particular user account and which file system actions are audited for a particular user account.
Use the PipeAccessRights enumeration when you create an access rule with the PipeAccessRule class or when you create an audit rule with the PipeAuditRule class.
This enumeration contains several specific system rights values and several values that are a combination of those specific values. It is easier to use the combination values, such as FullControl, Read, and Write, rather than specifying each component value separately.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.