I want to create a keyboard and mouse hook which will be started as a windows service. I want to monitor the activity of the various users who use the system throughout the day. i.e. which users are active at what times.
Is is possible to determine which user will be receiving the events? (The service will be running as a separate user so getCurrentUser is not appropriate)