IADsNTPolicy Property: AuditLogonLogoff

Property Name
AuditLogonLogoff

Property Type
String

(Permissible values are described in IADsNTPolicy Auditing Values.)

Description
Controls how auditing should occur for logon and logoff events.

Example

Dim Policy As IADsNTPolicy
'Get the interface
Set Policy = GetObject ("NTDS://DomainName/MachineName")
'Logon/logoff logs will occur if there is a success or failure
Policy.AuditLogonLogoff = "Success, Failure"

 

See Also