Is there a Novell DLL which contains who am i?

I am looking for an API call which will tell a VB3 16-bit program what the current Novell User name is.  I know how to do it by shelling a .bat file containing:

who am i > tempfile.tmp

but there must surely be a more elegant method.
pbh2Asked:
Who is Participating?

[Webinar] Streamline your web hosting managementRegister Today

x
 
TiutinConnect With a Mentor Commented:
Hi !
Within the NetWare Client API for C, Version 1.0 (June 1993) there is a function named as
NWGetUserInfo (
  NWCONN_HANDLE conn,
  DWORD connNum,
  char NWFAR *userName,
  NWFSE_USER_INFO NWFAR *fseUserInfo);
I guess you have to use NWCALLS.LIB library from Netware Client API Kit while compiling your application.
Regards.
0
All Courses

From novice to tech pro — start learning today.