Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ObjectSecurity::AuditRuleFactory Method (IdentityReference^, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)

 

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

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

public:
virtual AuditRule^ AuditRuleFactory(
	IdentityReference^ identityReference,
	int accessMask,
	bool isInherited,
	InheritanceFlags inheritanceFlags,
	PropagationFlags propagationFlags,
	AuditFlags flags
) abstract

Parameters

identityReference
Type: System.Security.Principal::IdentityReference^

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

accessMask
Type: System::Int32

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
Type: System::Boolean

true if this rule is inherited from a parent container.

inheritanceFlags
Type: System.Security.AccessControl::InheritanceFlags

Specifies the inheritance properties of the audit rule.

propagationFlags
Type: System.Security.AccessControl::PropagationFlags

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

flags
Type: System.Security.AccessControl::AuditFlags

Specifies the conditions for which the rule is audited.

Return Value

Type: System.Security.AccessControl::AuditRule^

The AuditRule object that this method creates.

.NET Framework
Available since 2.0
Return to top
Show:
© 2017 Microsoft