Documentation
isAuthenticated
usage
$user->isAuthenticated()
retourne
boolean representing whether the user is connected and authenticated in the Officity environment.
Don't forget to include the officityuser.class.php file
exemples
include_once('../Kernel/common/officityuser.class.php');
$user = new OfficityUser();
if($user->isAuthenticated()){
// ...
}else{
exit();
}