On Wednesday 25 October 2000 16:01, Patrick Koetter wrote:
> > > I want to include the owner (from acl_users) of a page in my
> >
> > HTML-output.
> >
> > <dtml-var "AUTHENTICATED_USER.getUserName()">
> > is what you want
> Not exactly. This only returns the AUTHENTICATED_USER, or am I wrong?
> What I want is:
> 'Anonymous User' surfs to my site. She surfs trough the HTML output
> generated by zope, while zope not only tells her the content provided, but
> also the Name of the Zope-owner of the document (e.g patrick is owner of
> index_html --> that info is also displayed to the anonymous user)
> Thanks for more help,
ok, i see what you want to do.  i thought that you have a "author" property 

i'm sorry to say that i can't be of any more help.  i guess you can test for 
ownership of objects in zope since there exist a take ownership button.  
check the source, probably. zopeinstalldir/lib/python/AccessControl/Owned.py

tell us what you got :)
> p@



use Zope?  then you got HOPE!

Zope maillist  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to