PipeAccessRights Enum

Definition

Defines the access rights to use when you create access and audit rules.

This enumeration supports a bitwise combination of its member values.

public enum class PipeAccessRights
[System.Flags]
public enum PipeAccessRights
[<System.Flags>]
type PipeAccessRights = 
Public Enum PipeAccessRights
Inheritance
PipeAccessRights
Attributes

Fields

AccessSystemSecurity 16777216

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

ChangePermissions 262144

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

CreateNewInstance 4

Specifies the right to create a new pipe. Setting this right also sets the Synchronize right.

Delete 65536

Specifies the right to delete a pipe.

FullControl 2032031

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 131209

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

ReadAttributes 128

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 1

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 8

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 131072

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 131483

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

Synchronize 1048576

Specifies whether the application can wait for a pipe handle to synchronize with the completion of an I/O operation. This 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.

TakeOwnership 524288

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

Write 274

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

WriteAttributes 256

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 2

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 16

Specifies the right to write extended file system attributes to a pipe. This does not include the right to write file attributes or data.

Remarks

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.

Applies to