Re: OK .... Re: How to find out the "current" user ?

From: Eugene Gershnik (gershnik_at_hotmail.com)
Date: 06/22/05


Date: Wed, 22 Jun 2005 01:51:32 -0700

Polaris wrote:
> Thanks guys for your help and information.
>
> I think I can get currently logged on user by looking
> "DefaultDomainName" and "DefaultUserName" in registry:
> HKLM\Software\Microsoft\Windows NT\CurrentVersion\Winlogon

And how is it going to help you when there are *two* "currently logged on
users" on your machine? If your goal is to produce yet another broken
software that fails on remote desktop you can continue trying to invent ways
to get non-existent information. Otherwise write it down: there is no such
thing as THE currently logged on user.
If you care to explain *why* do you think you need this information I am
sure many people would suggest how to solve your real problem.

-- 
Eugene
http://www.gershnik.com