src/wcmf/lib/security/principal/impl/AbstractUser.php
protected function getAuthUser() {
    $principalFactory = ObjectFactory::getInstance('principalFactory');
    $session = ObjectFactory::getInstance('session');
    return $principalFactory->getUser($session->getAuthUser());
  }
protected function getAuthUser() {
    $principalFactory = ObjectFactory::getInstance('principalFactory');
    $session = ObjectFactory::getInstance('session');
    return $principalFactory->getUser($session->getAuthUser());
  }
protected function getAuthUser ( ) { $ principalFactory = ObjectFactory :: getInstance ( 'principalFactory' ) ; $ session = ObjectFactory :: getInstance ( 'session' ) ; return $ principalFactory -> getUser ( $ session -> getAuthUser ( ) ) ; }
Get the currently authenticated user
@return User
Get the currently authenticated user