Solved

Is there a Novell DLL which contains who am i?

Posted on 1997-11-16
1
303 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…

910 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

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now