SessionManagerGetUsersNumber Method |
Returns number of online users.
Namespace: CMS.MembershipAssembly: CMS.Membership (in CMS.Membership.dll) Version: 9.0.0
Syntaxpublic 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