Memberdata_properties.xml AND OR memberdata.xml

The generic setup tool portal_setup has (among others) two export steps (MemberData properties and Member Data Tool) which produce the two xml files you are interested in.

Both export steps do basically the same but in slightly different ways: They export portal_memberdata.

The basic difference is the way they obtain portal_memberdata:

  • MemberData properties uses getToolByName("portal_memberdata")
  • Member Data Tool uses queryUtility(IMemberDataTool)

Both produce the same result (but in different files): memberdata_properties.xml and memberdata.xml

If interested in the details follow the following links: