Skip to main content

Introduction

get the FastmemberpropertiesTool

fmp_tool = queryUtility(IFastmemberpropertiesTool, ‘fastmemberproperties_tool’)

get a list of all memberproperties

member_props = fmp_tool.get_all_memberproperties()

>>> props = fmp_tool.get_all_memberproperties()
>>> props
<persistent.dict.PersistentDict object at 0xd9f8e6c>
>>> props.items()
[('maik', <persistent.dict.PersistentDict object at 0xd9fe56c>)]
>>> props.keys()
['maik']
>>> props['maik']
<persistent.dict.PersistentDict object at 0xd9fe56c>
>>> pp(props['maik'].items())
[('visible_ids', 0),
 ('last_login_time', DateTime('2000/01/01')),
 ('language', ''),
 ('home_page', ''),
 ('listed', 'on'),
 ('wysiwyg_editor', 'Kupu'),
 ('error_log_update', 0.0),
 ('location', ''),
 ('portal_skin', ''),
 ('fullname', 'Maik Derstappen 2'),
 ('login_time', DateTime('2000/01/01')),
 ('email', 'maik.derstappen@derstappen-it.de'),
 ('ext_editor', ''),
 ('description', '')]

or get properties for one member by id

member_props = fmp_tool.get_properties_for_member(‘example_member’)

Changelog

1.5 (03/09/2014)

  • Plone 4.3 compatibility [maartenkling]

1.4 (14/02/2011)

  • add remove_memberproperties to remove members from cache if they are removed in plone, fix eventhandly for membrane members on creation time [MrTango]

1.3 (14/02/2011)

  • Bugfix Release, upgrade highly recommended! [MrTango]

1.2 (06/01/2011)

  • Bugfix Release [MrTango]

1.0 (19/04/2010)

  • Initial release [MrTango]

Release files for inqbus.plone.fastmemberproperties 1.5

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for inqbus.plone.fastmemberproperties 1.5
File Size Uploaded
inqbus.plone.fastmemberproperties-1.5.tar.gz 7.5 kB Details

Release files / inqbus.plone.fastmemberproperties-1.5.tar.gz

Download URL inqbus.plone.fastmemberproperties-1.5.tar.gz
Size 7.5 kB
Tags Source
SHA-256 checksum
How to use checksums
bb61fb5cf88b75b08dabe9e47170e9adb09faa619312d3f171a58e6356cbab24
BLAKE2b-256 checksum
How to use checksums
54f9a86a75fa832dd3b15e4d3aa1dd0c74c88f7a6308d09cfcfe61c6ef94257e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release history Release notifications | RSS feed

This release

1.5 This release

1 release file

1.4

1 release file

1.3

1 release file

1.2

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page