Path

ez.no / exponential / documentation / reference / data fetching / user / anonymous_count


anonymous_count

Summary

Returns the number of anonymous users

Usage

fetch( 'user', 'anonymous_count' )

Parameters

NameTypeDescriptionRequired

Returns

The number of anonymous users.

Description

Counts the number of anonymous users and returns that count.

An anonymous user is considered active if the last access time is less than the activity timeout, the default is 1 hour and can be configured in site.ini ( ActivityTimeout).

Examples

There are {fetch( 'user', 'anonymous_count' )} guest users.

Comments

Contents

Reference

Database diagram
Template operators
Template functions
Data fetching
    Class
    Content
    Collaboration
    Layout
    Notification
    Package
    Section
    Shop
    URL
    User
       anonymous_count
       current_user
       is_logged_in
       logged_in_count
       logged_in_list
       logged_in_users
       member_of
       user_role
Modules
XML tags


Created

01/06/2004
5:45:24 pm
by Jan Borsodi

Last updated

01/06/2004
5:45:24 pm
by Jan Borsodi

Authors

Jan Borsodi



This page is part of the Exponential documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.