> On Fri, 06 Oct 2000, Andy McKay wrote:
> > AUTHENTICATED_USER is not a string so need to cast it before doing the
> > string operation:
> >
> > <dtml-call "RESPONSE.redirect(URL1 + '/' + _.str(AUTHENTICATED_USER))">
> >
> > <dtml-var AUTHENTICATED_USER> effectively does the same thing, it calls the
> > string representation of AUTHENTICATED_USER.
> >
> 
> A more 'polite' way to get the user name is to use 
> AUTHENTICATED_USER.getUserName().  Not as short, true, but definitely more 
> explicit.

Agreed. Any remember, several user managers don't completely conform to
the AUTHENTICATED_USER "standards", and you might see calling
AUTHENTICATED_USER directly fail completely.

;]

Knight
[EMAIL PROTECTED]


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

Reply via email to