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

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

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