ActiveDirectorySecurity.AddAuditRule Method (ActiveDirectoryAuditRule)

Adds an audit rule to the SACL of an object.

Namespace:  System.DirectoryServices
Assembly:  System.DirectoryServices (in System.DirectoryServices.dll)

public void AddAuditRule(
	ActiveDirectoryAuditRule rule


Type: System.DirectoryServices.ActiveDirectoryAuditRule

The ActiveDirectoryAuditRule object to which this operation applies.

.NET Framework

Supported in: 4.6, 4.5, 4, 3.5, 3.0, 2.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback
© 2015 Microsoft