[Zope] Re: How do extract acl_user
Maik Jablonski
maik.jablonski@uni-bielefeld.de
Sat, 16 Nov 2002 10:47:53 +0100
McDonnell, Larry wrote:
> Hi,
>
> How can I extract the "user" name when the user logins in dtml? I need this
> name to hit a table to see if this person is allowed to up the information
> on the form.
> Thanks.
<dtml-var "_.SecurityGetUser().getId()">
You can find more infos in the builtin ZopeHelpSystem! Use it.
ZopeHelp -> ApiReference -> AuthenticatedUser
DTML-Reference -> functions
-mj