Re: [Zope-dev] Loginmanager and local roles

2000-12-20 Thread Michael Bernstein
"Morten W. Petersen" wrote: > > [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: [snip solution] Sorry I didn't see your question earlier. Here was what I posted to the li

Re: [Zope-dev] Loginmanager and local roles

2000-12-19 Thread Steve Spicklemire
Hi Morten, > "Morten" == Morten W Petersen <[EMAIL PROTECTED]> writes: Morten> (Can't understand why I had to use an additional list Morten> though). You probably found that Zope doesn't allow you to access the elements of a BTree object (which is what you get from "persistentIte

Re: [Zope-dev] Loginmanager and local roles

2000-12-19 Thread Morten W. Petersen
[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: """ self user_ids = self.UserSource.getPersistentItemIDs() user_ids2 = [] for id in user_ids: user_ids2.append(id) return