I capture 3 values to help identify user/computer .
This gets me useful information both on local desktops as well as Citrix
Clients.
I suspect the same will hold true on terminal server.
SET VAR vClientName TEXT = NULL
SET VAR vLoginName TEXT = NULL
SET VAR vRBCfgName TEXT = NULL
SET ERROR MESSAGE 639 OFF
SET VAR vClientName = (ENVVAL('CLIENTNAME'))
SET VAR vLoginName = (ENVVAL('USERNAME'))
IF vLoginName IS NULL THEN
SET VAR vLoginName = (ENVVAL('NETLOG'))
ENDIF
SET VAR vRBCfgName = (CVAL('NAME'))
SET ERROR MESSAGE 639 ON
Hope this provides some clues for you.
Dennis McGrath
Software Developer
QMI Security Solutions
1661 Glenlake Ave
Itasca IL 60143
630-980-8461
[email protected]
From: [email protected] [mailto:[email protected]] On Behalf Of Tom Frederick
Sent: Wednesday, February 13, 2013 8:28 AM
To: RBASE-L Mailing List
Subject: [RBASE-L] - Terminal server and computer names
Our compiled database is on server Drive Y and all networked computers have a
shortcut to it. (CVAL('computer')) is used to record what computer was used to
enter any particular info. On In-house computers it works. We are using a
terminal server for off-campus locations. It works great, but it names
(CVAL('computer')) as TS1ElmCity for every computer using the TS since the
database activity is on the TS not the computer accessing the TS. How can I
pass the name of the off-campus computer through the TS to the database?
Tom Frederick
President/CEO
Elm City Center
1314 W Walnut
Jacksonville, IL 62650
W- 217-245-9504
F - 217-245-2350
E - [email protected]<mailto:[email protected]>