public function authUser()
    {
        $session = $this->Controller->request->session();
        if ($session->check('Auth.CakeAdmin')) {
            return $session->read('Auth.CakeAdmin');
        }
        return false;
    }
public function authUser()
    {
        $session = $this->Controller->request->session();
        if ($session->check('Auth.CakeAdmin')) {
            return $session->read('Auth.CakeAdmin');
        }
        return false;
    }
public function authUser ( ) { $ session = $ this -> Controller -> request -> session ( ) ; if ( $ session -> check ( 'Auth.CakeAdmin' ) ) { return $ session -> read ( 'Auth.CakeAdmin' ) ; } return false ; }
Returns the logged in administrator.
Will return `false` when there'se no session.

@return bool
Returns the logged in administrator . Will return false when there se no session .