[Zope] getting the roles in DTML

Andreas Jung Andreas Jung <andreas@andreas-jung.com>
Wed, 19 Jun 2002 21:40:15 -0400


or read the docs.



--On Thursday, June 20, 2002 13:40 +1200 Chris Beaven 
<Chris@d-designz.co.nz> wrote:

> <dtml-var "_.SecurityGetUser().getRoles()">
>
> For quick questions like this, you could always ask in the IRC channel
> (#zope on irc.openprojects.net) ;)
>
> -----Original Message-----
> From: Aseem Mohanty [mailto:aseem@neurobehavioralsystems.com]
> Sent: Thursday, 20 June 2002 1:37 a.m.
> To: zope@zope.org
> Subject: [Zope] getting the roles in DTML
>
>
> Ho can I get the list of roles a user has in DTML??
> TIA
> AM
>
> --
> ==================================================================
>  Aseem Mohanty							
>  Neurobehavioral Systems Inc, 828 San Pablo Ave, Albany, CA 94706
>  (R) 510 7696011 (M) 510 3014871 (O) 510 5279231		  	
> ==================================================================
>
>  "I saw `cout' being shifted "Hello world" times to the left and
>   stopped right there!!"                        -- Steve Gonedes
> ==================================================================
>
>
>
>
> _______________________________________________
> 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 )
>
>
> _______________________________________________
> 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 )





    ---------------------------------------------------------------------
   -    Andreas Jung                     http://www.andreas-jung.com   -
  -   EMail: andreas at andreas-jung.com                              -
   -            "Life is too short to (re)write parsers"               -
    ---------------------------------------------------------------------