Export (0) Print
Expand All

ObjectSecurity.AuditRuleFactory Method

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

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

public abstract AuditRule AuditRuleFactory (
	IdentityReference identityReference,
	int accessMask,
	bool isInherited,
	InheritanceFlags inheritanceFlags,
	PropagationFlags propagationFlags,
	AuditFlags flags
)
public abstract AuditRule AuditRuleFactory (
	IdentityReference identityReference, 
	int accessMask, 
	boolean isInherited, 
	InheritanceFlags inheritanceFlags, 
	PropagationFlags propagationFlags, 
	AuditFlags flags
)
public abstract function AuditRuleFactory (
	identityReference : IdentityReference, 
	accessMask : int, 
	isInherited : boolean, 
	inheritanceFlags : InheritanceFlags, 
	propagationFlags : PropagationFlags, 
	flags : AuditFlags
) : AuditRule
Not applicable.

Parameters

identityReference

The identity to which the audit rule applies. It must be an object that can be cast as a SecurityIdentifier.

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.

inheritanceFlags

Specifies the inheritance properties of the audit rule.

propagationFlags

Specifies whether inherited audit rules are automatically propagated. The propagation flags are ignored if inheritanceFlags is set to None.

flags

Specifies the conditions for which the rule is audited.

Return Value

The AuditRule object that this method creates.

Windows 98, Windows Server 2000 SP4, Windows Millennium Edition, Windows Server 2003, Windows XP Media Center Edition, Windows XP Professional x64 Edition, Windows XP SP2, Windows XP Starter Edition

The Microsoft .NET Framework 3.0 is supported on Windows Vista, Microsoft Windows XP SP2, and Windows Server 2003 SP1.

.NET Framework

Supported in: 3.0, 2.0

Community Additions

ADD
Show:
© 2015 Microsoft