NWADChangeObjectProperty
Adds or removes the audit property for a user on a specified volume or container
#include <nwaudit.h>
or
#include <nwnet.h>
N_EXTERN_LIBRARY NWRCODE NWADChangeObjectProperty (
NWCONN_HANDLE conn,
nuint32 auditIDType,
nuint32 auditID,
nptr auditHandle,
nuint32 objectID,
nuint8 auditFlag);
uses audwin32
Function NWADChangeObjectProperty
(conn : NWCONN_HANDLE;
auditIDType : nuint32;
auditID : nuint32;
auditHandle : nptr;
objectID : nuint32;
auditFlag : nuint8
) : NWRCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWADChangeObjectProperty requires a second-level password when enabled.
If auditIDType is set to AUDIT_ID_IS_VOLUME to indicate volume auditing, NWGetVolumeNumber can be called to get the volume number of the audit file object.
If auditIDType is set to AUDIT_ID_IS_CONTAINER to indicate container auditing, NWDSAuditGetObjectID can be called to get the Directory Service object ID of the audit file object.
NWADInitLevelTwoPassword, NWADIsObjectAudited, NWADLogin, NWADOpen, NWDSAuditGetObjectID (obsolete 06/03) (NDS Core Services), NWGetVolumeNumber (Volume Management)