NWGetUserInfo(3nw)


NWGetUserInfo -- gets NetWare user information about a given logged-in server connection

Synopsis

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

NWCCODE N_API NWGetUserInfo (NWCONN_HANDLE conn, nuint32 connNum, pnstr8 userName, NWFSE_USER_INFO N_FAR * fseUserInfo);

Description

The parameters are as follows:

conn
(IN) Specifies the NetWare server connection handle.

connNum
(IN) Specifies the connection number of logged-in user.

userName
(IN) Points to the user name; minimum buffer size is 48 characters.

fseServerSetCmdsInfo
(OUT) Points to NWFSE_USER_INFO getting user information.

Return values

0x0000
SUCCESSFUL

0x897E
NCP_BOUNDARY_CHECK_FAILED

0x89FF
Failure or Invalid Connection Number

Notices

To call NWGetUserInfo, you must have console operator rights.

Services

File Server Environment

NCP calls

0x2222 123 04
User Information

References

NWGetActiveConnListByType(3nw)
30 January 1998
© 1998 The Santa Cruz Operation, Inc. All rights reserved.