Re: [Zope] How to get document's owner and last edited by with ZCatalog?
18 Sep
2002
18 Sep
'02
9:53 a.m.
Jaroslav Lukesh wrote:
I was try with ZCatalog searching and it ignores all real ownerships and print it as my own.
That's probably because you own the catalog, and catalog searches return brains not real objects. Try this python script: brains = context.your_catalog(***search params here***) for brain in brains: print brain.getURL() print "owned by:",brain.getObject().owner_info['path'] return printed cheers, Chris
8602
Age (days ago)
8602
Last active (days ago)
0 comments
1 participants
participants (1)
-
Chris Withers