PipeAuditRule Constructors

Definition

Initializes a new instance of the PipeAuditRule class.

Overloads

PipeAuditRule(IdentityReference, PipeAccessRights, AuditFlags)

Initializes a new instance of the PipeAuditRule class for a user account specified in a IdentityReference object.

PipeAuditRule(String, PipeAccessRights, AuditFlags)

Initializes a new instance of the PipeAuditRule class for a named user account.

PipeAuditRule(IdentityReference, PipeAccessRights, AuditFlags)

Initializes a new instance of the PipeAuditRule class for a user account specified in a IdentityReference object.

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

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.

flags
AuditFlags

One of the AuditFlags values that specifies when to perform auditing.

Remarks

Use this constructor to create an audit rule that can be persisted using the PipeSecurity class. Audit rules determine when and how actions performed on system objects are logged.

Applies to

PipeAuditRule(String, PipeAccessRights, AuditFlags)

Initializes a new instance of the PipeAuditRule class for a named user account.

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

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.

flags
AuditFlags

One of the AuditFlags values that specifies when to perform auditing.

Remarks

Use this constructor to create an audit rule that can be persisted using the PipeSecurity class. Audit rules determine when and how actions performed on system objects are logged.

Applies to