PipeAccessRule Constructor (IdentityReference, PipeAccessRights, AccessControlType)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Initializes a new instance of the PipeAccessRule class with the specified identity, pipe access rights, and access control type.

Namespace:   System.IO.Pipes
Assembly:  System.Core (in System.Core.dll)

public PipeAccessRule(
	IdentityReference identity,
	PipeAccessRights rights,
	AccessControlType type
)

Parameters

identity
Type: System.Security.Principal.IdentityReference

An IdentityReference object that encapsulates a reference to a user account.

rights
Type: System.IO.Pipes.PipeAccessRights

One of the PipeAccessRights values that specifies the type of operation associated with the access rule.

type
Type: System.Security.AccessControl.AccessControlType

One of the AccessControlType values that specifies whether to allow or deny the operation.

Use this constructor to create an access control rule that you can persist using the PipeSecurity class. Access control rules define user account rights that determine which actions are allowed or disallowed on computers that are running Microsoft Windows.

.NET Framework
Available since 3.5
Return to top
Show: