[Zope] Adding users with a PythonMethod
Dieter Maurer
dieter@handshake.de
Wed, 24 Jan 2001 00:30:49 +0100 (CET)
Curtis Maloney writes:
> I'm trying to add a users from within a PythonMethod. I have searched this
> list and found examples of how to add via DTML, but they all seem to require
> REQUEST.
> ...
> So, what I'm left to conclude is it's easier to add a new user from DTML
> than it is from a PythonMethod.
Can't be!
You can use REQUEST in a PythonMethod, too.
Either pass it explicitly as parameter or
use "self.REQUEST" to access it.
Dieter