Export (0) Print
Expand All

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.Pipes
Assembly:  System.Core (in System.Core.dll)

[FlagsAttribute]
public enum PipeAccessRights

Member nameDescription
AccessSystemSecuritySpecifies the right to make changes to the system access control list (SACL).
ChangePermissionsSpecifies the right to change the security and audit rules that are associated with a pipe.
CreateNewInstanceSpecifies the right to create a new pipe. Setting this right also sets the Synchronize right.
DeleteSpecifies the right to delete a pipe.
FullControlSpecifies 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.
ReadSpecifies the right to read from the pipe. This right includes the ReadAttributes, ReadData, ReadExtendedAttributes, and ReadPermissions rights.
ReadAttributesSpecifies 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.
ReadDataSpecifies 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.
ReadExtendedAttributesSpecifies 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.
ReadPermissionsSpecifies 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.
ReadWriteSpecifies the right to read and write from the pipe. This right includes the ReadAttributes, ReadData, ReadExtendedAttributes, ReadPermissions, WriteAttributes, WriteData, and WriteExtendedAttributes rights.
SynchronizeSpecifies 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.

TakeOwnershipSpecifies the right to change the owner of a pipe. Note that owners of a pipe have full access to that resource.
WriteSpecifies the right to write to the pipe. This right includes the WriteAttributes, WriteData, and WriteExtendedAttributes rights.
WriteAttributesSpecifies the right to write file system attributes to a pipe. This does not include the right to write data or extended file system attributes.
WriteDataSpecifies the right to write data to a pipe. This does not include the right to write file system attributes or extended file system attributes.
WriteExtendedAttributesSpecifies the right to write extended file system attributes to a pipe. This does not include the right to write file attributes or data.

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.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5

.NET Framework Client Profile

Supported in: 4, 3.5 SP1

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft