RE: [Zope] comparing variables ??
14 Dec
1999
14 Dec
'99
5:38 p.m.
-----Original Message----- From: Greg Ward [mailto:gward@cnri.reston.va.us]
AUTHENTICATED_USER.getUserName() is what you're looking for here.
Or, if you don't happen to know the name of the method, you can just use the standard Python function for getting an object's string representation. In straight Python, this would be
str (AUTHENTICATED_USER)
but in DTML's bastard offshoot of Python, it's
_.str (AUTHENTICATED_USER)
It's probably a better idea for future compatability to use the API and call getUserName. -Michel
9610
Age (days ago)
9610
Last active (days ago)
0 comments
1 participants
participants (1)
-
Michel Pelletier