[Zope] adding users

Joshua Lanza jlanza@vorsite.com
Thu, 31 Jan 2002 10:20:25 -0800


I did this by customizing the join_form and register dtml methods in
portal_skins, but that would be applicable only if you are using CMF.
Otherwise, look at your acl_users folder, and the code that it is using
when the Add button is clicked.=20

If you want to do this without an html form, then look at the python
source to see the method you need to call, in this case "manage_users".
I find this method in User.py -->=20

def manage_users(self,submit=3DNone,REQUEST=3DNone,RESPONSE=3DNone)

I believe that you can use something like=20

<dtml-call expr=3D"acl_users.manage_users(...)">

The params for the method can be found in the form fields in the Add
User form.=20

Josh


-----Original Message-----
From: Eckhoff, Damon [mailto:damon@missouri.edu]=20
Sent: Thursday, January 31, 2002 8:59 AM
To: zope@zope.org
Subject: [Zope] adding users

Hi all:

Could  someone point me to some good documentation on
creating/editing/managing
users programmatically?  I've been searching... but I must be searching
for the wrong thing...

Thanks,

Damon.

_______________________________________________
Zope maillist  -  Zope@zope.org
http://lists.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists -=20
 http://lists.zope.org/mailman/listinfo/zope-announce
 http://lists.zope.org/mailman/listinfo/zope-dev )