ISensLogon2 interface (sensevts.h)

The ISensLogon2 interface handles logon events fired by SENS.

Inheritance

The ISensLogon2 interface inherits from the IDispatch interface. ISensLogon2 also has these types of members:

Methods

The ISensLogon2 interface has these methods.

 
ISensLogon2::Logoff

The Logoff method notifies an application that a user is logged off. (ISensLogon2.Logoff)
ISensLogon2::Logon

The Logon method notifies an application that a user is logged on. (ISensLogon2.Logon)
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

Requirement Value
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