Is there any event to be used by process on local or remote session connection?
I need to wait for user to login, and then execute some action.
I know that it is possible to monitor Security event log for login event.
Is there a direct way of achieving this?