NWGetConnectionInformation
Returns information about a logged in object
#include <nwconnec.h>
or
#include <nwcalls.h>
NWCCODE N_API NWGetConnectionInformation (
NWCONN_HANDLE connHandle,
nuint16 connNumber,
pnstr8 pObjName,
pnuint16 pObjType,
pnuint32 pObjID,
pnuint8 pLoginTime);
uses calwin32
Function NWGetConnectionInformation
(connHandle : NWCONN_HANDLE;
connNumber : nuint16;
pObjName : pnstr8;
pObjType : pnuint16;
pObjID : pnuint32;
pLoginTime : pnuint8
) : NWCCODE;
These are common return values; see Return Values (Return Values for C) for more information.
The pObjName, pObjType, pObjID, and pLoginTime parameter are included in the returned information.
The system time clock is a 7-byte value contained in the pLoginTime parameter and defined in the following format:
NOTE:For the year value, 80-99=1980-1999; 100-179=2000-2079. The range 0-79 applies to 1900-1979, but a year in this range should not be necessary since DOS cannot return a year value previous to 1980.
NWCCGetAllConnInfo, NWGetUserInfo (Server Management)