Skip to the content
Documentation

Fetch functions

No ratings yet
Name Summary
anonymous_count Fetches the number of anonymous users.
current_user Fetches the user that is currently logged in.
has_access_to Checks if a user has access to a certain function of a module.
is_logged_in Checks if a specific user is logged in.
logged_in_count Fetches the number of users that are logged in.
logged_in_list Fetches the names of the users that are logged in.
logged_in_users Fetches the users that are logged in.
member_of Fetches the roles that are assigned to a user.
user_role Fetches the policies that are available for a user.

Added for Exponential 6.0.15

Name Summary
account_status The account status of a user object for the administration's marks: 'enabled', 'disabled' or 'locked'; false for an object that is no user account, or when the ...
can_open Whether the current user can open an address of this siteaccess ("setup/cache", "content/view/full/5", a URL alias), decided the way the kernel decides the ...
deactivation_offers Deactivate and move (doc/eng-us/features/6.0/user-hygiene.md): whether a user's page and the context menu offer Deactivate and move and Reactivate and move ...

In this section

Contributors

Comments

Add a comment

Comments are read by a moderator before they appear.