Finding which user is connected to the localhost.

From: Eric B (e.billot_at_free.fr)
Date: 11/28/03


Date: Fri, 28 Nov 2003 11:44:34 +0100

Greetings,

I am writing a Windows NT/2000 Service for which I need to identify the
current user's login.
Due to stability issues, the Service cannot "interact with the Desktop".

Is there a built-in function/procedure in Borland Delphi5 which is similar
to the "who"-command found on Unix?

Thanks in advance,

Eric Billot


Quantcast