Personal tools
You are here: Home Lists ZPUG DC List Archives 2005 2005-05 CMFMember / David Greisen <dgreisen@gmail.com>
Navigation
Log in


Forgot your password?
New user?
Mailing Lists
You can read our ZPUGDC mailing list archives online.
You can subscribe to our mailing list:
Book Review

The Definitive Guide to Plone

Reviewer: joel
 

CMFMember / David Greisen <dgreisen@gmail.com>

CMFMember
David Greisen <dgreisen(at)gmail.com>
2005-05-20 08:30:32 [ FULL ]
So I just installed CMFMember and I am trying to get a list of all the
members of the site.

I used:

return context.portal_membership.listMemberIds()

but it returns nothing. So I tried accessing a specific property:

return context.portal_membership.getUserById('Ted').getFullName()

and I get the error message:

Error Type
    AttributeError
Error Value
    'NoneType' object has no attribute 'getFullName'

I suspect I am doing something stupid, I just don't know what.

Thanks in advance, David

Powered by Plone, the Open Source Content Management System

This site conforms to the following standards: