Neos.Neos/Classes/Service/UserService.php
public function getPersonalWorkspace()
    {
        $workspaceName = $this->getPersonalWorkspaceName();
        if ($workspaceName !== null) {
            return $this->workspaceRepository->findOneByName($this->getPersonalWorkspaceName());
        }
    }
public function getPersonalWorkspace()
    {
        $workspaceName = $this->getPersonalWorkspaceName();
        if ($workspaceName !== null) {
            return $this->workspaceRepository->findOneByName($this->getPersonalWorkspaceName());
        }
    }
public function getPersonalWorkspace ( ) { $ workspaceName = $ this -> getPersonalWorkspaceName ( ) ; if ( $ workspaceName !== null ) { return $ this -> workspaceRepository -> findOneByName ( $ this -> getPersonalWorkspaceName ( ) ) ; } }
Returns the current user's personal workspace or null if no user is logged in

@return Workspace
@api
Returns the current user s personal workspace or null if no user is logged in