Session management methods are located in the SessionManager class found in the CMS.CMSHelper library.
For detailed API documentation, please refer to Kentico CMS API Reference guide that is a part of your Kentico CMS installation and can be accessed through the program folder in Windows Start menu.
Let's mention the following three methods which are the most important ones:
GetOnlineUsers(String, String, Int32, String, String) |
Returns UserInfos of online users according to the WHERE condition and ordered by the ORDER BY expression.
String - WHERE condition String - ORDER BY expression Int32 - TOP N expression String - location (alias path) of users on the website String - site name |
IsUserOnline(Int32) |
Returns true when the user with the specified ID is online.
Int32 - ID of the user |
KickUser(Int32) |
Performs all the necessary actions to kick the user with the specified ID.
Int32 - ID of the user |
Page url: http://devnet.kentico.com/docs/devguide/index.html?online_users_api.htm