NWQueryAccountingInstalled(3nw)


NWQueryAccountingInstalled -- determines whether accounting is installed and/or enabled

Synopsis

   #include <nwacct.h> 
   or 
   #include <nwcalls.h> 
   

NWCCODE N_API NWQueryAccountingInstalled (NWCONN_HANDLE conn, pnuint8 installed);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

installed
(OUT) Points to the installed value. It returns 1 if accounting is installed on the NetWare server; otherwise, installed returns 0.

Return values

0x0000
SUCCESSFUL

0x8801
INVALID_CONNECTION

0x8811
INVALID_SHELL_CAL

0x8836
INVALID_PARAMETER

Notices

When accounting is enabled, the NetWare server object has the property ACCOUNT_SERVERS.

Services

Accounting

NCP calls

0x2222 23 17 Get File Server Information
0x2222 23 22 Get Station's Logged Info (old)
0x2222 23 28 Get Station's Logged Info
0x2222 23 60 Scan Property
0x2222 104 1 Ping for NDS NCP

 
 ------------------------------------------ 
| 0x2222|  23 |  17|  Get File Server     | 
|       |     |    |  Information         | 
|-------|-----|----|----------------------| 
| 0x2222|  23 |  22|  Get Station's Logged| 
|       |     |    |  Info (old)          | 
|-------|-----|----|----------------------| 
| 0x2222|  23 |  28|  Get Station's Logged| 
|       |     |    |  Info                | 
|-------|-----|----|----------------------| 
| 0x2222|  23 |  60|  Scan Property       | 
|-------|-----|----|----------------------| 
| 0x2222|  104|  1 |  Ping for NDS NCP    | 
|-------|-----|----|----------------------| 


30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.