NWADGetFlags
Returns the auditing flag byte
#include <nwaudit.h>
or
#include <nwnet.h>
N_EXTERN_LIBRARY NWRCODE NWADGetFlags (
NWCONN_HANDLE conn,
nuint32 auditIDType,
nuint32 auditID,
nptr auditHandle,
pnuint8 flags);
uses audwin32
Function NWADGetFlags
(conn : NWCONN_HANDLE;
auditIDType : nuint32;
auditID : nuint32;
auditHandle : nptr;
Var flags : nuint8
) : NWRCODE;
These are common return values; see Return Values (Return Values for C) for more information.
NWADGetFlags returns the auditing flag byte, whose contents follow:
0x01 = DiscardAuditRcdsOnErrorFlag 0x02 = ConcurrentVolAuditorAccess 0x04 = DualLevelPasswordsActive 0x08 = BroadcastWarningsToAllUsers 0x10 = LevelTwoPasswordSet 0x20 = ArchiveAuditFileOnErrorFlag
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.
NWADLogin, NWADOpen, NWADReadConfigHeader, NWADWriteConfigHeader, NWDSAuditGetObjectID (obsolete 06/03) (NDS Core Services), NWGetVolumeNumber (Volume Management)