[Zope] How do I get the owner of a document?

Jonothan Farr jfarr@real.com
Wed, 22 Mar 2000 17:05:00 -0800


> I have to write a small DTML method, that finds all documents, that are
> located in a givben hierachie which are owned by a certain user.

This should work (untested):

<dtml-in objectValues>
  <dtml-if "'Owner' in get_local_roles(userid)">
    owned by <dtml-var userid>
  </dtml-if>
</dtml-in>

-jfarr