ActiveDirectorySecurity::SetAuditRule Method (ActiveDirectoryAuditRule^)

 

Replaces all audit rules that contain the same security identifier as the specified audit rule in the SACL of an object with the specified audit rule.

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

public:
void SetAuditRule(
	ActiveDirectoryAuditRule^ rule
)

Parameters

rule
Type: System.DirectoryServices::ActiveDirectoryAuditRule^

The ActiveDirectoryAccessRule object to which this operation applies.

.NET Framework
Available since 2.0
Return to top
Show: