Forums / Setup & design / How do I check whether a user is logged in?
Sander Jansen
Wednesday 16 July 2003 7:20:26 am
I can't find it anywhere in the doc's... but how do I check whether a user is logged in or not? (goal is to combine the user and admin sections by printing a set of admin buttons when someone is logged in).
Jan Borsodi
Wednesday 16 July 2003 7:52:21 am
Try {fetch(user,current_user).is_logged_in}it will return true or false.
-- Amos Documentation: http://ez.no/ez_publish/documentation FAQ: http://ez.no/ez_publish/documentation/faq