ISensLogon2 interface

The ISensLogon2 interface handles logon events fired by SENS.

Methods

The ISensLogon2 interface has these methods.

Method Description
ISensLogon2::Logoff The Logoff method notifies an application that a user is logged off.
ISensLogon2::Logon The Logon method notifies an application that a user is logged on.
ISensLogon2::PostShell Use the PostShell method when a user has logged on and Windows Explorer is running. This method is different from the Logon method because Logon is called after logon when the Shell may not yet be running.
ISensLogon2::SessionDisconnect The SessionDisconnect method is used to disconnect from a Fast User Switching session or a Remote Desktop Connection. This is different from logging off from a session, because when you use this method the session is disconnected.
ISensLogon2::SessionReconnect The session was reconnected. The SessionReconnect method is used when you reconnect to a Fast User Switching session or a Remote Desktop Connection. This is different from logging on to a new session.

Requirements

   
Minimum supported client Windows XP [desktop apps only]
Minimum supported server Windows Server 2003 [desktop apps only]
Target Platform Windows
Header sensevts.h

See Also

About System Event Notification Service