ActiveDirectorySecurity.AuditRuleFactory 方法

定义

创建一个 AuditRule 对象。

重载

AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)

创建具有指定值的 AuditRule 对象。

AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid)

创建具有指定值的 AuditRule 对象。

AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

创建具有指定值的 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 sealed 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 NotOverridable Function AuditRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags) As AuditRule

参数

identityReference
IdentityReference

解析为安全标识符 (SID) 的 IdentityReference 对象,如 NTAccount 对象。

accessMask
Int32

一个 Int32 位掩码,显示要使用的访问特权。

isInherited
Boolean

一个 Boolean 对象,指示 ACE 是否可被继承。 如果 ACE 可被继承,则为 true;否则为 false

inheritanceFlags
InheritanceFlags

一个 InheritanceFlags 对象,其中包含目录对象上的继承标志。

propagationFlags
PropagationFlags

一个 PropagationFlags 对象,其中包含目录对象的继承传播标志。

flags
AuditFlags

一个 AuditFlags 对象,其中包含此 ActiveDirectorySecurity 对象的审核标志。

返回

ActiveDirectorySecurity 对象相对应的 AuditRule

另请参阅

适用于

AuditRuleFactory(IdentityReference, Int32, Boolean, InheritanceFlags, PropagationFlags, AuditFlags, Guid, Guid)

Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs
Source:
ActiveDirectorySecurity.cs

创建具有指定值的 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, Guid objectGuid, Guid inheritedObjectGuid);
public override sealed 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, Guid objectGuid, Guid inheritedObjectGuid);
override this.AuditRuleFactory : System.Security.Principal.IdentityReference * int * bool * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.AuditFlags * Guid * Guid -> System.Security.AccessControl.AuditRule
Public Overrides NotOverridable Function AuditRuleFactory (identityReference As IdentityReference, accessMask As Integer, isInherited As Boolean, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, flags As AuditFlags, objectGuid As Guid, inheritedObjectGuid As Guid) As AuditRule

参数

identityReference
IdentityReference

解析为安全标识符 (SID) 的 IdentityReference 对象,例如 NTAccount 对象。

accessMask
Int32

一个 Int32 位掩码,显示要使用的访问特权。

isInherited
Boolean

一个 Boolean 对象,指示 ACE 是否可被继承。 如果 ACE 可被继承,则为 true;否则为 false

inheritanceFlags
InheritanceFlags

一个 InheritanceFlags 对象,其中包含目录对象上的继承标志。

propagationFlags
PropagationFlags

一个 PropagationFlags 对象,其中包含目录对象的继承传播标志。

flags
AuditFlags

一个 AuditFlags 对象,其中包含此 ActiveDirectorySecurity 对象的审核标志。

objectGuid
Guid

一个 Guid 对象,其中包含目录对象的 Guido。

inheritedObjectGuid
Guid

一个 Guid 对象,其中包含继承的目录对象的 Guido。

返回

ActiveDirectorySecurity 对象相对应的 AuditRule

另请参阅

适用于