code: public CmsUserEditParameters getUserEditParameters(CmsUser user) {
  
          CmsUserEditParameters params = new CmsUserEditParameters();
          params.setEditEnabled(true);
          params.setPasswordChangeEnabled(true);
          return params;
      }
docs: Gets the user edit parameters.<p>
  
  @param user the user
  @return the user edit parameters