Export (0) Print
Expand All

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

Initializes a new instance of the AuditRule’1 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

Supported in: 4.6, 4.5, 4

.NET Framework Client Profile

Supported in: 4

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft