ObjectSecurity<T>.AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags) ObjectSecurity<T>.AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags) ObjectSecurity<T>.AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags) Method

Definition

Initializes a new instance of the AuditRule class representing the specified audit rule for the specified user.

public:
 override 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);
public override 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);
override this.AuditRuleFactory : System.Security.Principal.IdentityReference * int * bool * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AuditFlags -> System.Security.AccessControl.AuditRule

Parameters

identityReference
IdentityReference IdentityReference IdentityReference

Represents a user account.

accessMask
Int32 Int32 Int32

An integer that specifies an access type.

isInherited
Boolean Boolean Boolean

true if the access rule is inherited; otherwise, false.

inheritanceFlags
InheritanceFlags InheritanceFlags InheritanceFlags

Specifies how to propagate access masks to child objects.

propagationFlags
PropagationFlags PropagationFlags PropagationFlags

Specifies how to propagate Access Control Entries (ACEs) to child objects.

flags
AuditFlags AuditFlags AuditFlags

Describes the type of auditing to perform.

Returns

The specified audit rule for the specified user.

Applies to