Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17

x
?
Solved

Is there a Novell DLL which contains who am i?

Posted on 1997-11-16
1
Medium Priority
?
320 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 1

Accepted Solution

by:
Tiutin earned 200 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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
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…
Want to learn how to record your desktop screen without having to use an outside camera. Click on this video and learn how to use the cool google extension called "Screencastify"! Step 1: Open a new google tab Step 2: Go to the left hand upper corn…

705 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