System.IO.Pipes.PipeSecurity.AuditRuleFactory Method

Initializes a new instance of the System.Security.AccessControl.AuditRule class with the specified values.

Syntax

public override sealed System.Security.AccessControl.AuditRule AuditRuleFactory (System.Security.Principal.IdentityReference identityReference, int accessMask, bool isInherited, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.AuditFlags flags)

Parameters

identityReference
The identity that the access rule applies to. It must be an object that can be cast as a System.Security.Principal.SecurityIdentifier object.
accessMask
The access mask of this rule. The access mask is a 32-bit collection of anonymous bits, the meaning of which is defined by the individual integrators
isInherited
true if this rule is inherited from a parent container; otherwise, false..
inheritanceFlags
One of the System.Security.AccessControl.InheritanceFlags values that specifies the inheritance properties of the access rule.
propagationFlags
One of the System.Security.AccessControl.PropagationFlags values that specifies whether inherited access rules are automatically propagated. The propagation flags are ignored if inheritanceFlags is set to System.Security.AccessControl.InheritanceFlags.None.
flags
One of the System.Security.AccessControl.AuditFlags values that specifies the valid access control type.

Returns

The System.Security.AccessControl.AuditRule object that this method creates.

Remarks

The recommended way to create audit rules is to use the constructors of the System.IO.Pipes.PipeAuditRule class.

Requirements

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