[Zope-dev] Loginmanager and local roles

Morten W. Petersen morten@esol.no
19 Dec 2000 14:27:59 +0100


[Morten W. Petersen]

| Any suggestions?

Found the problem.  There needs to be a method called user_names
in the acl_users folder, which returns all the user ids:

"""
<params>self</params>
user_ids = self.UserSource.getPersistentItemIDs()

user_ids2 = []

for id in user_ids:
	user_ids2.append(id)

return user_ids2
"""

(Can't understand why I had to use an additional list though).

Cheers.

-Morten