AuditRule<T> Constructor (IdentityReference, T, InheritanceFlags, PropagationFlags, AuditFlags)

.NET Framework (current version)
 
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 AuditRule<T> class by using the specified values.

Namespace:   System.Security.AccessControl
Assembly:  mscorlib (in mscorlib.dll)

public AuditRule(
	IdentityReference identity,
	T rights,
	InheritanceFlags inheritanceFlags,
	PropagationFlags propagationFlags,
	AuditFlags flags
)

Parameters

identity
Type: System.Security.Principal.IdentityReference

The identity to which the audit rule applies.

rights
Type: T

The rights of the audit rule.

inheritanceFlags
Type: System.Security.AccessControl.InheritanceFlags

The inheritance properties of the audit rule.

propagationFlags
Type: System.Security.AccessControl.PropagationFlags

Whether inherited audit rules are automatically propagated.

flags
Type: System.Security.AccessControl.AuditFlags

The conditions for which the rule is audited.

.NET Framework
Available since 4.0
Return to top
Show: