If you have one person logged onto the console directly, and two people
logged in through terminal services, what do you want to see? You can
probably hook into ADSI or use WScript.Network, but I think it will require
significantly elevated privileges (typically not recommended for a classic
ASP application).
One possible workaround is to use a data store for this, and have a login
script in the startup folder that stores %USERNAME% in a table. It will be
tougher to detect logoffs and inactive/expired sessions, of course.
"mvr" <v_*****@hotmail.com> wrote in message
news:uO**************@TK2MSFTNGP05.phx.gbl...
Hi all
How to get the Windows current logged user name using Classic ASP.
If no direct way are there any work arounds.
Thanks
mvr