Perhaps something like this?
List Logon Session Information
HTH,
Update: Corrected bad URL; thanks, ikegami!
In reply to Re: Finding username in Win32
by planetscape
in thread Finding username in Win32
by esr
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |