code: public String getPropertyInheritanceInfo(String propName) throws CmsException {
  
          String folderName = CmsResource.getParentFolder(getParamResource());
          String folderPropVal = null;
          while (CmsStringUtil.isNotEmpty(folderName)) {
              CmsProperty prop = getCms().readPropertyObject(folderName, propName, false);
              folderPropVal = prop.getValue();
              if (CmsStringUtil.isNotEmpty(folderPropVal)) {
                  break;
              }
              folderName = CmsResource.getParentFolder(folderName);
          }
  
          if (CmsStringUtil.isNotEmpty(folderPropVal)) {
              return key(Messages.GUI_SECURE_INHERIT_FROM_2, new Object[] {folderPropVal, folderName});
          } else {
              return key(Messages.GUI_SECURE_NOT_SET_0);
          }
      }
docs: Returns the information from which the property is inherited.<p>
  
  @param propName the name of the property
  @return a String containing the information from which the property is inherited and inherited value
  @throws CmsException if the reading of the Property fails