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.
|
|