docs: public boolean resetLayout(String loginId) {
          boolean resetSuccess = false;
          boolean resetCurrentUserLayout = (null == loginId);
  
          if (resetCurrentUserLayout || (!resetCurrentUserLayout && AdminEvaluator.isAdmin(owner))) {
              if (LOG.isDebugEnabled()) {
                  LOG.debug("Reset layout requested for user with id " + loginId + ".");
              }
              int portalID = IPerson.UNDEFINED_ID;
              IPerson person;
  
              if (resetCurrentUserLayout || loginId.equals(owner.getUserName())) {
                  person = owner;
                  portalID = owner.getID();
              } else {
                  // Need to get the portal id
                  person = PersonFactory.createPerson();
                  person.setAttribute(IPerson.USERNAME, loginId);
  
                  try {
                      portalID = userIdentityStore.getPortalUID(person);
                      person.setID(portalID);
                  } catch (Exception e) {
                      // ignore since the store will log the problem
                  }
              }
              if (portalID != IPerson.UNDEFINED_ID) {
                  resetSuccess = resetLayout(person);
              }
          } else {
              LOG.error(
                      "Layout reset requested for user "
                              + loginId
                              + " by "
                              + owner.getID()
                              + " who is not an administrative user.");
          }
          return resetSuccess;
      }