Getting to know the active (console connected) username

Shekhar Somani posted at 04-Jul-08 02:34
Hi!
I know that we can use WM_WTSSESSION_CHANGE message to detect whenever a user connects/disconnects through fast user switching. But it would be same for all users... is there a way that I can know who has unlocked the computer (i.e. name of active user)?
Thanks.

Click here to sign in and reply. You could earn money via our $500 contest just for being helpful.
  Getting to know the active (console connected) username - Shekhar Somani  04-Jul-08 02:34 2:34:52 PM
      REply - alice johnson  04-Jul-08 10:34 10:34:45 PM
          But what about the name of the user? - Shekhar Somani  05-Jul-08 05:22 5:22:48 AM
View Posts