[Zope] Add an existing role to an existing user via dtml methods

Dieter Maurer dieter@handshake.de
Thu, 12 Jul 2001 20:39:23 +0200 (CEST)


paul_s_johnson@urscorp.com writes:
 > I am trying to create some user management pages for site administrators
 > (non-programmer types).  How do I programmatically add an existing role to
 > an existing user via dtml?
 > 
 > I searched the archives with no success.  Using Zope 2.2.2 on Linux.
My standard answer to such questions:

  You can do it with the management interface.
  Look at its source. It will tell you how to
  proceed -- with an excellent example.


Dieter