BackTalk to Document The Zope Book (2.6 Edition)/Appendix B: API Reference

[email protected]
Newsgroups gmane.comp.web.zope.zdp
Message-ID <[email protected]>
A comment to the paragraph below was recently added via http://zope.org/Documentation/Books/ZopeBook/2_6Edition/AppendixB.stx#3-13

---------------

      Get the current authenticated user. See the
      'AuthenticatedUser' class.

        % bkwasniewski - Nov. 11, 2003 1:46 pm:
         Newbie How to use this function in dtml method, plese show an example

        % flow - Dec. 3, 2003 12:40 am:
         <dtml-var "AUTHENTICATED_USER.getUserName()">
         <dtml-unless
         "acl_users.authenticate(name=user_name,password=password,request=None)">not</dtml-unless>authenticated

_______________________________________________
ZDP maillist  -  [email protected]
http://mail.zope.org/mailman/listinfo/zdp
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.