4 Oct
2003
4 Oct
'03
3:45 p.m.
Florian Lindner wrote:
Hello, how can I find out if the current user in a authentificated user or just an anonymous, using Page Templates? Thanks, Florian
Simply: you don't. Of course you can build somewhat obscure python expressions into ZTP tal attributes, but as often, its much simpler in a python script: from AccessControl import getSecurityManager return getSecurityManager().getUser().has_role("Authenticated") Regards Tino