[Zope-PTK] Missing function in Membership.PersistentUser
Fabio Forno
sciasbat@cselt5.polito.it
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