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

  • From: "Chris De Jongh" <Chris.De.Jongh@xxxxxxxxxx>
  • To: <thin@xxxxxxxxxxxxx>
  • Date: Fri, 16 Jan 2004 23:08:45 +0100

Is there a way you can get the SESSION ID (see 3rd column when starting
qwinsta or query user from a dos box).

Tnx

Chris 

-----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

Other related posts: