2012/05/30

Listing Plone Member Properties

Be sure first see member profile documentation for more examples. Here is a Script in ZMI to list member property on wysiwyg_editor setting. Member property listing can be found at /portal_memberdata Properties tab.

from Products.CMFCore.utils import getToolByName

membership = getToolByName(context, 'portal_membership')
for member in membership.listMembers():
   print member, member.getProperty('wysiwyg_editor')

return printed

No comments: