SystemAcl.RemoveAuditSpecific 方法

定义

从当前 DiscretionaryAcl 对象移除指定的审核规则。

重载

RemoveAuditSpecific(SecurityIdentifier, ObjectAuditRule)

从当前 DiscretionaryAcl 对象移除指定的审核规则。

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

从当前 DiscretionaryAcl 对象移除指定的审核规则。

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

从当前 DiscretionaryAcl 对象移除指定的审核规则。 在指定对象类型或继承的对象类型时,为目录对象的访问控制列表 (ACL) 使用此方法。

RemoveAuditSpecific(SecurityIdentifier, ObjectAuditRule)

从当前 DiscretionaryAcl 对象移除指定的审核规则。

public:
 void RemoveAuditSpecific(System::Security::Principal::SecurityIdentifier ^ sid, System::Security::AccessControl::ObjectAuditRule ^ rule);
public void RemoveAuditSpecific (System.Security.Principal.SecurityIdentifier sid, System.Security.AccessControl.ObjectAuditRule rule);
member this.RemoveAuditSpecific : System.Security.Principal.SecurityIdentifier * System.Security.AccessControl.ObjectAuditRule -> unit
Public Sub RemoveAuditSpecific (sid As SecurityIdentifier, rule As ObjectAuditRule)

参数

sid
SecurityIdentifier

要为其移除审核规则的 SecurityIdentifier

rule
ObjectAuditRule

要为其移除规则的 ObjectAuditRule

适用于

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags)

从当前 DiscretionaryAcl 对象移除指定的审核规则。

public:
 void RemoveAuditSpecific(System::Security::AccessControl::AuditFlags auditFlags, System::Security::Principal::SecurityIdentifier ^ sid, int accessMask, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags);
public void RemoveAuditSpecific (System.Security.AccessControl.AuditFlags auditFlags, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags);
member this.RemoveAuditSpecific : System.Security.AccessControl.AuditFlags * System.Security.Principal.SecurityIdentifier * int * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags -> unit
Public Sub RemoveAuditSpecific (auditFlags As AuditFlags, sid As SecurityIdentifier, accessMask As Integer, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags)

参数

auditFlags
AuditFlags

要移除的审核规则的类型。

sid
SecurityIdentifier

要为其移除审核规则的 SecurityIdentifier

accessMask
Int32

要移除的规则的访问掩码。

inheritanceFlags
InheritanceFlags

指定要移除的规则的继承属性的标志。

propagationFlags
PropagationFlags

指定要移除的规则的继承传播属性的标志。

适用于

RemoveAuditSpecific(AuditFlags, SecurityIdentifier, Int32, InheritanceFlags, PropagationFlags, ObjectAceFlags, Guid, Guid)

从当前 DiscretionaryAcl 对象移除指定的审核规则。 在指定对象类型或继承的对象类型时,为目录对象的访问控制列表 (ACL) 使用此方法。

public:
 void RemoveAuditSpecific(System::Security::AccessControl::AuditFlags auditFlags, System::Security::Principal::SecurityIdentifier ^ sid, int accessMask, System::Security::AccessControl::InheritanceFlags inheritanceFlags, System::Security::AccessControl::PropagationFlags propagationFlags, System::Security::AccessControl::ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType);
public void RemoveAuditSpecific (System.Security.AccessControl.AuditFlags auditFlags, System.Security.Principal.SecurityIdentifier sid, int accessMask, System.Security.AccessControl.InheritanceFlags inheritanceFlags, System.Security.AccessControl.PropagationFlags propagationFlags, System.Security.AccessControl.ObjectAceFlags objectFlags, Guid objectType, Guid inheritedObjectType);
member this.RemoveAuditSpecific : System.Security.AccessControl.AuditFlags * System.Security.Principal.SecurityIdentifier * int * System.Security.AccessControl.InheritanceFlags * System.Security.AccessControl.PropagationFlags * System.Security.AccessControl.ObjectAceFlags * Guid * Guid -> unit
Public Sub RemoveAuditSpecific (auditFlags As AuditFlags, sid As SecurityIdentifier, accessMask As Integer, inheritanceFlags As InheritanceFlags, propagationFlags As PropagationFlags, objectFlags As ObjectAceFlags, objectType As Guid, inheritedObjectType As Guid)

参数

auditFlags
AuditFlags

要移除的审核规则的类型。

sid
SecurityIdentifier

要为其移除审核规则的 SecurityIdentifier

accessMask
Int32

要移除的规则的访问掩码。

inheritanceFlags
InheritanceFlags

指定要移除的规则的继承属性的标志。

propagationFlags
PropagationFlags

指定要移除的规则的继承传播属性的标志。

objectFlags
ObjectAceFlags

指定 objectTypeinheritedObjectType 参数是否包含非 null 值的标志。

objectType
Guid

移除的审核控制规则所应用到的对象的类标识。

inheritedObjectType
Guid

可以继承移除的审核规则的子对象的类标识。

适用于