libraries/Users/BUsers.php
public function getLoggedUser() {
		$session = BUsersSession::getInstanceAndStart();
		if (empty($session)) {
			return NULL;
		}
		return $this->itemGet($session->userid);
	}
public function getLoggedUser() {
		$session = BUsersSession::getInstanceAndStart();
		if (empty($session)) {
			return NULL;
		}
		return $this->itemGet($session->userid);
	}
public function getLoggedUser ( ) { $ session = BUsersSession :: getInstanceAndStart ( ) ; if ( empty ( $ session ) ) { return NULL ; } return $ this -> itemGet ( $ session -> userid ) ; }
Get logged user class

@return BUser|null
Get logged user class