NWDSChangeObjectAuditProperty(3nw)


NWDSChangeObjectAuditProperty -- changes the audit property that indicates if an object will be audited

Synopsis

   #include <nwnet.h> 
   see also 
   #include <nwdsdc.h> 
   #include <nwaudit.h> 
   

NWCCODE N_APINWDSChangeObjectAuditProperty (NWCONN_HANDLE conn, nuint32 containerID, nuint8 N_FAR * key, nuint32 objectID, nuint8 auditFlag);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

containerID
(IN) Specifies the container ID for Directory Services.

key
(IN) Points to a 40-byte array containing the audit key.

objectID
(IN) Specifies the object ID number having the audit property changed.

auditFlag
(IN) Specifies whether the object will be audited: 1 = the object will be audited; 0 = the object will not be audited.

Return values

0x0000
SUCCESSFUL

0x8983
Auditing Hardware Error

0x8984
Auditing Not Supported

0x8997
Auditing Not Enabled

0x8998
VOLUME_DOES_NOT_EXIST

0x89DE
PASSWORD_HAS_EXPIRED_NO_GRACE

Services

Auditing (Directory Support)

NCP calls

0x2222 104 221 Audit Change Object Audited

References

NWAddAuditProperty(3nw), NWIsUserBeingAudited(3nw), NWDSLoginAsContainerAuditor(3nw), NWDSAuditGetObjectID(3nw), NWDSIsObjectBeingAudited(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.