code: public CmsToolUserData getUserData(CmsWorkplace wp) {
  
          CmsToolUserData userData = wp.getSettings().getToolUserData();
          if (userData == null) {
              userData = new CmsToolUserData();
              userData.setRootKey(ROOTKEY_DEFAULT);
              Iterator<CmsToolRootHandler> it = getToolRoots().iterator();
              while (it.hasNext()) {
                  CmsToolRootHandler root = it.next();
                  userData.setCurrentToolPath(root.getKey(), TOOLPATH_SEPARATOR);
                  userData.setBaseTool(root.getKey(), TOOLPATH_SEPARATOR);
              }
              wp.getSettings().setToolUserData(userData);
          }
          return userData;
      }
docs: Returns the <code>{@link CmsToolUserData}</code> object for a given user.<p>
  
  @param wp the workplace object
  
  @return the current user data