[Zope] Get all user folder instances

Dieter Maurer dieter at handshake.de
Sun Apr 3 14:01:35 EDT 2005


Garito wrote at 2005-4-3 17:36 +0200:
>root
>    acl_users (user folder)
>    Folder1
>       acl_users (Pluggable user folder)
>       Folder2
>          acl_users (Another user folder)
>          Object1
>          Object2
>
>how could I retrive the list of user folders (in this case: /acl_users, 
>/Folder1/acl_users and /Folder1/Folder2/acl_users)

The best method would be to know the meta types of all
UserFolders you are using...

>It would be perfect something like: Object1.superValues('User Folder')

"superValues" allows also a sequence of meta types (rather than
a single one).

-- 
Dieter


More information about the Zope mailing list