[Zope] DTML code to get owner of object?
Maik Jablonski
maik.jablonski@uni-bielefeld.de
06 Jul 2002 11:39:11 +0200
On Fri, 2002-07-05 at 22:40, Dieter Maurer wrote:
> Davis Marques writes:
> > No luck finding this in the docs. With what DTML function can you find the
> > owner of an object?
> The ("AccessControl.Owned.Owned") method "getOwner" returns
> the objects owner.
>
> However, this method is private. You can not call it from DTML
> directly and need an External Method or method in a product
> to call it.
hi,
this one works for me with Proxy==Manager:
<dtml-var "this().owner_info()['id']">
greetings, maik
--
Maik Jablonski __o
www.zfl.uni-bielefeld.de _ \<_ Deutsche Zope User Group
Bielefeld, Germany (_)/(_) www.dzug.org