Click or drag to resize
SessionManagerGetUsersNumber Method
Returns number of online users.

Namespace: CMS.Membership
Assembly: CMS.Membership (in CMS.Membership.dll) Version: 11.0.0
Syntax
C#
public static void GetUsersNumber(
	string siteName,
	string location,
	bool includeHidden,
	bool includeKicked,
	out int publicUsers,
	out int authenticatedUsers
)

Parameters

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