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

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to