[THIN] Re: Getting User ID/Reading User's Environment Variabl es

  • From: "Mack, Rick" <RMack@xxxxxxxxxxxxxx>
  • To: "'thin@xxxxxxxxxxxxx'" <thin@xxxxxxxxxxxxx>
  • Date: Sat, 17 Jan 2004 09:43:43 +1000

Hi Jeff,

We wrote the enclosed utility to dump login info (published app name, tcp/ip
address of client etc)in an inifile format.

Eg 
Clientfo > %temp\clientnfo.fil

Then use kix/vb etc and the readprofilestring function to get the info you
need.

Regards,

Rick

Ulrich Mack
Volante Systems
18 Heussler Terrace, Milton 4064 
Queensland, Australia
tel +61 7 32467704
rmack@xxxxxxxxxxxxxx


-----Original Message-----
From: Columna, Melvin [mailto:Melvin.Columna@xxxxxxxxx] 
Sent: Saturday, 17 January 2004 8:51 AM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Re: Getting User ID/Reading User's Environment Variabl es



Jeff, when I run this code it returns Anon001, which is not what I want.  I
want my own LAN ID -----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Jeff Durbin
Sent: vrijdag 16 januari 2004 9:09
To: thin@xxxxxxxxxxxxx
Subject: [THIN] Re: Getting User ID/Reading User's Environment Variables

You can do it with VBScript (or Kix, presumably) during login, or at any
time thereafter. For example:

Set WshShell = WScript.CreateObject("WScript.Shell")
Set WshSysEnv = WshShell.Environment("PROCESS")
msgbox WshSysEnv("USERNAME")
msgbox WshSysEnv("SESSIONNAME")

Jeff Duribin

-----Original Message-----
From: thin-bounce@xxxxxxxxxxxxx [mailto:thin-bounce@xxxxxxxxxxxxx] On Behalf
Of Columna, Melvin
Sent: 16 January 2004 10:16 AM
To: 'thin@xxxxxxxxxxxxx'
Subject: [THIN] Getting User ID/Reading User's Environment Variables
Importance: High


Hi Gang,

We are using MF18AFR2 for Windows 2000 and NFUSE 1.7 with Anonymous
published app.

How can I read the Anonymous user's environment variables ?

Or at least, figure out their USER ID.

.
.
.
----------------------------------------------------------------------------
--------------
Melvin Columna
Jascom Solutions, Inc.
http://www.JascomSolutions.com
eMail: thin-list@xxxxxxxxxxxxxxxxxxx <mailto:thin-list@xxxxxxxxxxxxxxxxxxx>

----------------------------------------------------------------------------
--------------
 
********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest constraint to
scaling up?! Get this free white paper to understand the real constraints &
how to overcome them. SAVE MONEY by scaling-up rather than buying more
servers. http://www.rtosoft.com/Enter.asp?ID=147
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest constraint to
scaling up?! Get this free white paper to understand the real constraints &
how to overcome them. SAVE MONEY by scaling-up rather than buying more
servers. http://www.rtosoft.com/Enter.asp?ID=147
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm


********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest constraint to
scaling up?! Get this free white paper to understand the real constraints &
how to overcome them. SAVE MONEY by scaling-up rather than buying more
servers. http://www.rtosoft.com/Enter.asp?ID=147
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm
********************************************************
This Week's Sponsor - RTO Software / TScale
What's keeping you from getting more from your terminal servers? Did you
know, in most cases, CPU Utilization IS NOT the single biggest constraint to
scaling up?! Get this free white paper to understand the real constraints &
how to overcome them. SAVE MONEY by scaling-up rather than buying more
servers. http://www.rtosoft.com/Enter.asp?ID=147
*********************************************************
Useful Thin Client Computing Links are available at:
http://thethin.net/links.cfm
***********************************************************
For Archives, to Unsubscribe, Subscribe or 
set Digest or Vacation mode use the below link:
http://thethin.net/citrixlist.cfm

Other related posts: