System.IO.Pipes.PipeAuditRule Class

Represents an abstraction of an access control entry (ACE) that defines an audit rule for a pipe.

See Also: PipeAuditRule Members


public sealed class PipeAuditRule : System.Security.AccessControl.AuditRule


Audit rules determine when and how actions performed on system objects are logged.

The System.IO.Pipes.PipeAuditRule class represents an abstraction of an underlying access control entry (ACE) that specifies a user account, the type of access to provide (read, write, and so on), and whether to perform auditing. This class can specify how audit rules are inherited from and propagated to objects.

To allow file auditing on computers that are running Windows NT or later operating systems, the Audit Access Security policy must be enabled; by default, this policy is set to No Auditing.

To enable the Audit Access Security policy, perform the following steps:

[The 'ordered' type of list has not been implemented in the ECMA stylesheet.]

Note that an audit rule for a user account requires a corresponding access rule for the same user account.

Use the System.IO.Pipes.PipeAuditRule class to create a new audit rule. You can persist this rule using the System.IO.Pipes.PipeSecurity class.


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