[ZPT] how to access the owner of an object?

Brian Lalor blalor+dated+1021217540.33f531@ithacabands.org
Tue, 7 May 2002 08:32:18 -0700 (MST)


Hey all.  Sorry if this has been covered before, but I did some searching 
yesterday and didn't come up with anything.

I'm *very* green with Zope, but like I handle most new things, I'm 
learning by diving in head first.  I'm trying to put together something of 
a weblog on my Zope site.  Each entry is a File object.  I'm using a 
series of page templates to display each news entry, and I'd like to be 
able to say who posted the item; I intend to have each File object owned 
by the user who made the entry.

How do I, either via Python or within the template, access the owner of 
the object?  I don't see it as a property anywhere in the object hierarchy 
of the File object.

Thanks,
B

--
Brian Lalor
blalor@ithacabands.org