🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2848

Re: How to get user login name from Netware?

#2848
From: Chris Magagna
Date: Tue, 11 Jan 1994 22:04
35 lines
2575 bytes
In article <1994Jan11.202908.13077@ctp.com> schit@ctp.com (Subbarao Chitturi) writes:
>Does anyone know if Novell's Netware is shipped
>along with Netware API?

It ships with the client shells and Windows DLLs, which are the actual API.  
You can get to these from assembler using interrupt calls.  Various books, a 
la _Programmer's Guide to NetWare_ can show you what calls to make.

Novell also sells (as separate products) libraries for higher level languages, 
such as C.  These tend to be nicer and easier to use than the interrupts.

>If not, how can I get the login username from my
>Application? I searched the Borland C++ Library for a
>function that could do this for me. I did not find 
>one.

Even though Novell's got a majority of the market share Borland doesn't, in 
their base compiler, have library functions of direct NetWare API calls.

Alternatively, if you are programming for Microsoft Windows (based on the 
newsgroups you've sent your message to) you can use the Windows network API 
call:

DWORD WNetGetUser(lpszLocalName, lpszUserName, lpcchBuffer)

which has the added benefit of working on all networks, not just Novell's.

>Please reply email me.

Sorry, no.

Chris
------------------------
  Chris Magagna     / chris@uidaho.edu \   University 
Networks & Systems / Computer Services  \   of Idaho
Technical Details
Message-ID: <chris.28.2D3392E9@uidaho.edu>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!olivea!charnel!psgrain!news.clark.edu!serval!owl.csrv.uidaho.edu!toucan.csrv.uidaho.edu!chris
References: <1994Jan11.202908.13077@ctp.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fe659,841086e021a2eb6b
X-Google-Attributes: gidfe659,public
X-Google-Thread: 105df1,841086e021a2eb6b
X-Google-Attributes: gid105df1,public
X-Google-Thread: 113dfb,841086e021a2eb6b
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 10f035,841086e021a2eb6b
X-Google-Attributes: gid10f035,public
X-Google-Thread: 10937a,841086e021a2eb6b
X-Google-Attributes: gid10937a,public
X-Google-ArrivalTime: 1994-01-12 00:42:24 PST
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!europa.eng.gtefsd.com!uunet!olivea!charnel!psgrain!news.clark.edu!serval!owl.csrv.uidaho.edu!toucan.csrv.uidaho.edu!chris
From: chris@uidaho.edu (Chris Magagna)
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.os.ms-windows.programmer.win32,comp.sys.novell,bit.listserv.novell
Subject: Re: How to get user login name from Netware?
Date: Tue, 11 Jan 1994 22:04:14
Organization: Networks & Systems
Lines: 35
Distribution: world
Message-ID: <chris.28.2D3392E9@uidaho.edu>
References: <1994Jan11.202908.13077@ctp.com>
NNTP-Posting-Host: toucan.csrv.uidaho.edu
X-Newsreader: Trumpet for Windows [Version 1.0 Rev Final Beta #8]