docs: public UserInfo getUserTemplate()
      {
          if (userControl == null)
              userControl = new UserControl(this.getOwner().findRecordOwner());
          if (userControl != null)
              if ((userControl.getEditMode() == DBConstants.EDIT_CURRENT) || (userControl.getEditMode() == DBConstants.EDIT_IN_PROGRESS))
          {
              UserInfo userInfo = (UserInfo)((ReferenceField)userControl.getField(UserControl.TEMPLATE_USER_ID)).getReference();
              if (userInfo != null)
                  if ((userInfo.getEditMode() == DBConstants.EDIT_CURRENT) || (userInfo.getEditMode() == DBConstants.EDIT_IN_PROGRESS))
                      return userInfo;
          }
          return null;
      }