-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 I looked at the ZopeHelp, and wouldn't have been able to figure out this relatively simple answer from what's listed in the help system. There are no examples in some sections of the help. Russell On Saturday 16 November 2002 04:47 am, you wrote:
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
_______________________________________________ Zope maillist - Zope@zope.org 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 )
- -- Linux -- the OS for the Renaissance Man -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: For info see http://www.gnupg.org iD8DBQE91llmAqKGrvVshJQRAtxUAJ4vPTBTHwGy+kdCbUngmbnA71q/lQCffjRC BV+WoeIDw0HA9h1oRU73d5Y= =KucU -----END PGP SIGNATURE-----