Solved

Is there a Novell DLL which contains who am i?

Posted on 1997-11-16
1
311 Views
Last Modified: 2013-12-03
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.
0
Comment
Question by:pbh2
1 Comment
 
LVL 1

Accepted Solution

by:
Tiutin earned 100 total points
ID: 1408422
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

Featured Post

PeopleSoft Has Never Been Easier

PeopleSoft Adoption Made Smooth & Simple!

On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool.  Claim Your Free WalkMe Account Now

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

679 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question