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