🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: comp.os.ms-windows.programmer.misc
3 messages
3 total messages Started by Subbarao Chitturi Tue, 11 Jan 1994 20:29
How to get user login name from Netware?
#2851
Author: Subbarao Chitturi
Date: Tue, 11 Jan 1994 20:29
16 lines
1526 bytes
Hello,

Does anyone know if Novell's Netware is shipped
along with Netware API?

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.

Please reply email me. Thank you in advance.
-- 
________________________________________________________________
Subbarao Chitturi		I question and speak for myself.
schit@ctp.com
Re: How to get user login name from Netware?
#2849
Author: Sytze Boonstra
Date: Wed, 12 Jan 1994 07:55
16 lines
1655 bytes
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. 

Greetinx

Sytze.


Dizze hazze ha se en die oare hazze ha se hast.
Re: How to get user login name from Netware?
#2850
Author: 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 ==========
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads