[Zope] Enumerating owners

Michael S. Fischer michael@dynamine.net
Wed, 28 Aug 2002 17:30:43 -0700


On Wed, Aug 28, 2002 at 05:11:33PM -0700, Andy McKay wrote:

> Try owner_info rather than getOwner, the former needs View management screen
> permission.
> 
> Something like:
> 
> obj = context.restrictedTraverse('/Test') # get the Test object
> return obj.owner_info()

Thanks.  That works for the primary owner.  How about enumerating local
ownership roles?

-- 
Michael S. Fischer / michael at dynamine.net / +1 650-533-4684
Lead Hacketeer, Dynamine Consulting, Silicon Valley, CA