PipeAccessRights Enumeration

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
AccessSystemSecurity

Specifies the right to make changes to the system access control list (SACL).

ChangePermissions

Specifies the right to change the security and audit rules that are associated with a pipe.

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.

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.

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.

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.

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.

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.

ReadWrite

Specifies the right to read and write from the pipe. This right includes the ReadAttributes, ReadData, ReadExtendedAttributes, ReadPermissions, WriteAttributes, WriteData, and WriteExtendedAttributes rights.

Synchronize

Specifies whether the application can wait for a pipe handle to synchronize with the completion of an I/O operation.

TakeOwnership

Specifies the right to change the owner of a pipe. Note that owners of a pipe have full access to that resource.

Write

Specifies the right to write to the pipe. This right includes the WriteAttributes, WriteData, and WriteExtendedAttributes rights.

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.

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.

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.

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
Available since 3.5
Return to top
Show:
© 2016 Microsoft