[Zope-PTK] Missing function in Membership.PersistentUser
kamon ayeva
kayeva@hotmail.com
Mon, 24 Jul 2000 09:05:52 GMT
Thanks Fabio.
Could we put a little howto on using the Membership system, and also the
Wizard product for those who have already some experience on these setups.
Regards,
Kamon
>From: Fabio Forno <sciasbat@cselt5.polito.it>
>To: "zope-ptk@zope.org" <zope-ptk@zope.org>
>Subject: [Zope-PTK] Missing function in Membership.PersistentUser
>Date: Mon, 24 Jul 2000 10:53:33 +0000
>
>Hi,
>when using the membership system it's impossible to get the users'
>roster, because the Portal.getRoster() calls the getUsers() and that
>function is missing.
>At present I've solved that problem addind this python method in the
>UserSource:
>
>getUsers(self):
> user_ids=self.getPersistentItemIDs()
>
> users=[]
> for i in user_ids:
> users.append(self.getItem(i))
>
> return users
>
>
>ByE,
>Fabio Forno
>
>_______________________________________________
>Zope-PTK maillist - Zope-PTK@zope.org
>http://lists.zope.org/mailman/listinfo/zope-ptk
>
>See http://www.zope.org/Products/PTK/Tracker for bug reports and feature
>requests
>
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com