ISensLogon2 interface (sensevts.h)
The ISensLogon2 interface handles logon events fired by SENS.
The ISensLogon2 interface inherits from the IDispatch interface. ISensLogon2 also has these types of members:
The ISensLogon2 interface has these methods.
The Logoff method notifies an application that a user is logged off. (ISensLogon2.Logoff)
The Logon method notifies an application that a user is logged on. (ISensLogon2.Logon)
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.
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.
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.
|Minimum supported client||Windows XP [desktop apps only]|
|Minimum supported server||Windows Server 2003 [desktop apps only]|