You can use the Audit policy related properties and methods to set options such as turning auditing on or off, auditing accesses to objects, and so on.
Note: Some of the following methods require the name of a privilege. These are described in IADsNTPolicy Privileges.
Some Audit policy related properties require an Auditing Value to be used.
Property/Method |
Description |
Gets or sets Auditing options for User and Group management |
|
Gets or sets Auditing options for Detailed Process Tracking |
|
Gets or sets whether auditing is enabled or not |
|
Gets or sets Auditing options for Logon and Logoff |
|
Gets a percentage of how full the Audit Log is |
|
Gets or sets Auditing options for File and Object Access |
|
Gets or sets Auditing options for Security Policy Changes |
|
Gets or sets Auditing options for use of User Rights |
|
Controls the number of days for which audit log records are retained |
|
Controls whether auditing should occur for restart, shutdown and system events |
|
Gets whether system shutdown has been initiated due to audit log getting full |
|
Gets / Sets the maximum size of audit log |
|
Gets or sets whether the system should shutdown when the audit log becomes full |
|
Gets the time left after which the shutdown becomes irreversible |
See Also