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

Brian Lalor blalor+dated+1021249360.a20735@ithacabands.org
Tue, 7 May 2002 17:22:39 -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 posted this earlier on the 
zpt list, but haven't received an answer yet, and it occurred to me this 
may not be zpt-specific.

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