ObjectSecurity<T>.AuditRuleFactory 方法

定义

初始化 AuditRule 类的新实例,它表示指定用户的指定审核规则。

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
Public Overrides Function AuditRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags) As AuditRule

参数

identityReference
IdentityReference

表示用户帐户。

accessMask
Int32

指定访问类型的整数。

isInherited
Boolean

如果该访问规则是继承的,则为 true;否则为 false

inheritanceFlags
InheritanceFlags

指定将访问掩码传播到子对象的方法。

propagationFlags
PropagationFlags

指定如何将访问控制项 (ACE) 传播到子对象。

flags
AuditFlags

描述要执行的审核类型。

返回

指定用户的特定审核规则。

适用于