🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to get user login name from Netware?

#2850
From: Gunnar Dahlstrom
Date: Wed, 12 Jan 1994 09:39
28 lines
2373 bytes
In article <1994Jan12.075525.15245@spider.research.ptt.nl> boonst_s@sun005.research.ptt.nl (Sytze Boonstra) writes:
>Hello Subbarao,
>
>I have had the same problem. Eventually, the network operator told me that in a
>certain login-file-batch-thing-I-Dont-know the dos environment variable USER was
>assigned the value of the login username. It is possible (at least in Turbo
>Pascal) to get the value of that environment variable USER.
>
>If this is not the right way to retrieve a login username, I would appreciate to
>know. 
>

Tell your supervisor to change the system login-script so that it put the
login name in a environment variable.

Something like this line:

SET USER=LOGIN_NAME

// Gunnar Dahlstrom


===============================================================================
Gunnar Dahlstrom                        E-Mail: dahlstr@vtek.chalmers.se
Chalmers University of Technology       +======================================
Computer Center at School of Civil Eng.	| \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\
S-412 96 Gothenburg, Sweden             | /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
========= If you can't convince them, confuse them - Harry S. Truman ==========
Technical Details
Message-ID: <CJIG5n.A90@news.chalmers.se>
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!news.chalmers.se!dahlstr
References: <1994Jan11.202908.13077@ctp.com> <1994Jan12.075525.15245@spider.research.ptt.nl>

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: 10937a,841086e021a2eb6b
X-Google-Attributes: gid10937a,public
X-Google-Thread: 113dfb,841086e021a2eb6b
X-Google-Attributes: gid113dfb,public
X-Google-Thread: 105df1,841086e021a2eb6b
X-Google-Attributes: gid105df1,public
X-Google-Thread: 10f035,841086e021a2eb6b
X-Google-Attributes: gid10f035,public
X-Google-ArrivalTime: 1994-01-12 02:35:57 PST
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
Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!howland.reston.ans.net!pipex!sunic!news.chalmers.se!dahlstr
From: dahlstr@vtek.chalmers.se (Gunnar Dahlstrom)
Subject: Re: How to get user login name from Netware?
Message-ID: <CJIG5n.A90@news.chalmers.se>
Sender: news@news.chalmers.se
Nntp-Posting-Host: linus.vtek.chalmers.se
Organization: School of Civil Engineering, Chalmers, Sweden
References: <1994Jan11.202908.13077@ctp.com> <1994Jan12.075525.15245@spider.research.ptt.nl>
Date: Wed, 12 Jan 1994 09:39:23 GMT
Lines: 28