code: public CmsToolRootHandler getCurrentRoot(CmsWorkplace wp) {
  
          CmsToolUserData userData = getUserData(wp);
          String root = ROOTKEY_DEFAULT;
          if (userData != null) {
              if (m_roots.getObject(userData.getRootKey()) != null) {
                  root = userData.getRootKey();
              } else {
                  if (LOG.isErrorEnabled()) {
                      LOG.error(
                          Messages.get().getBundle().key(Messages.ERR_NOT_CONFIGURED_ROOT_1, userData.getRootKey()));
                  }
              }
          }
          return m_roots.getObject(root);
      }
docs: Returns the current user's root handler.<p>
  
  @param wp the workplace context
  
  @return the current user's root handler