SessionManager GetUsersNumber Method Kentico 8.1 API Reference
Returns number of online users.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 8.0.0.0 (8.1.5347.20411)

Parameters

siteName
Type: OnlineSystem String
Site name
location
Type: OnlineSystem String
Location
includeHidden
Type: OnlineSystem Boolean
Include hidden users
includeKicked
Type: OnlineSystem Boolean
Include kicked users - kicked users are count through all sites
publicUsers
Type: OnlineSystem Int32 
Number of public users
authenticatedUsers
Type: OnlineSystem Int32 
Bumber of authenticated users
See Also