Michael wrote:
could someone please tell me how I would modify the "file library"
example to store an attribute with the file? (like the guest_name in
message book)

well, I don't have the example to hand, but my guess would be that you're looking to do something like:

from AccessControl import getSecurityManager


...where myfile is your file object.

That said, try just doing:

myfile.getOwner(), it may do what you want already...


Simplistix - Content Management, Zope & Python Consulting
           - http://www.simplistix.co.uk
Zope maillist  -  Zope@zope.org
**   No cross posts or HTML encoding!  **
(Related lists - http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )

Reply via email to