getOwner should do it. This will return the actual owner object. It'd be preferable to catalog the tuple representing the owner path (this is returned by getOwner(1)), so you might want to create a method on the object that returns "getOwner(1)". ----- Original Message ----- From: "Tim McLaughlin" <tim@BCSWebservices.net> To: <zope-dev@zope.org> Sent: Monday, February 26, 2001 3:38 PM Subject: [Zope-dev] catalog object owners?
Anybody know how to catalog the object "owner"? I can't seem to find a property to catalog the value of getUserName(). (of course I could always kludge it with a property in the constructor, but I would prefer use what is already there).
___________________________________________________________ Tim McLaughlin BCSwebservices.net Director, Technical Group 1950 Old Gallows Road tel: (703) 790.8081 x111 Suite 201 tim@bcswebservices.net Vienna, VA 22182 www .bcswebservices. net
_______________________________________________ Zope-Dev maillist - Zope-Dev@zope.org http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo/zope )