Rediger

Del via


SystemAcl.RemoveAuditSpecific Method

Definition

Removes the specified audit rule from the current DiscretionaryAcl object.

Overloads

RemoveAuditSpecific(SecurityIdentifier, ObjectAuditRule)

Removes the specified audit rule from the current DiscretionaryAcl object.

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

Removes the specified audit rule from the current DiscretionaryAcl object.

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

Removes the specified audit rule from the current DiscretionaryAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type.

RemoveAuditSpecific(SecurityIdentifier, ObjectAuditRule)

Removes the specified audit rule from the current DiscretionaryAcl object.

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)

Parameters

sid
SecurityIdentifier

The SecurityIdentifier for which to remove an audit rule.

rule
ObjectAuditRule

The ObjectAuditRule for the rule to be removed.

Applies to

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

Removes the specified audit rule from the current DiscretionaryAcl object.

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)

Parameters

auditFlags
AuditFlags

The type of audit rule to remove.

sid
SecurityIdentifier

The SecurityIdentifier for which to remove an audit rule.

accessMask
Int32

The access mask for the rule to be removed.

inheritanceFlags
InheritanceFlags

Flags that specify the inheritance properties of the rule to be removed.

propagationFlags
PropagationFlags

Flags that specify the inheritance propagation properties for the rule to be removed.

Applies to

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

Removes the specified audit rule from the current DiscretionaryAcl object. Use this method for directory object Access Control Lists (ACLs) when specifying the object type or the inherited object type.

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)

Parameters

auditFlags
AuditFlags

The type of audit rule to remove.

sid
SecurityIdentifier

The SecurityIdentifier for which to remove an audit rule.

accessMask
Int32

The access mask for the rule to be removed.

inheritanceFlags
InheritanceFlags

Flags that specify the inheritance properties of the rule to be removed.

propagationFlags
PropagationFlags

Flags that specify the inheritance propagation properties for the rule to be removed.

objectFlags
ObjectAceFlags

Flags that specify if the objectType and inheritedObjectType parameters contain non-null values.

objectType
Guid

The identity of the class of objects to which the removed audit control rule applies.

inheritedObjectType
Guid

The identity of the class of child objects which can inherit the removed audit rule.

Applies to