Uredi

Deli z drugimi prek


PipeAccessRule Constructors

Definition

Initializes a new instance of the PipeAccessRule class.

Overloads

PipeAccessRule(IdentityReference, PipeAccessRights, AccessControlType)

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

PipeAccessRule(String, PipeAccessRights, AccessControlType)

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

PipeAccessRule(IdentityReference, PipeAccessRights, AccessControlType)

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

public:
 PipeAccessRule(System::Security::Principal::IdentityReference ^ identity, System::IO::Pipes::PipeAccessRights rights, System::Security::AccessControl::AccessControlType type);
public PipeAccessRule (System.Security.Principal.IdentityReference identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AccessControlType type);
new System.IO.Pipes.PipeAccessRule : System.Security.Principal.IdentityReference * System.IO.Pipes.PipeAccessRights * System.Security.AccessControl.AccessControlType -> System.IO.Pipes.PipeAccessRule
Public Sub New (identity As IdentityReference, rights As PipeAccessRights, type As AccessControlType)

Parameters

identity
IdentityReference

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

rights
PipeAccessRights

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

type
AccessControlType

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

Remarks

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.

Applies to

PipeAccessRule(String, PipeAccessRights, AccessControlType)

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

public:
 PipeAccessRule(System::String ^ identity, System::IO::Pipes::PipeAccessRights rights, System::Security::AccessControl::AccessControlType type);
public PipeAccessRule (string identity, System.IO.Pipes.PipeAccessRights rights, System.Security.AccessControl.AccessControlType type);
new System.IO.Pipes.PipeAccessRule : string * System.IO.Pipes.PipeAccessRights * System.Security.AccessControl.AccessControlType -> System.IO.Pipes.PipeAccessRule
Public Sub New (identity As String, rights As PipeAccessRights, type As AccessControlType)

Parameters

identity
String

The name of the user account.

rights
PipeAccessRights

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

type
AccessControlType

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

Remarks

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.

Applies to