[Zope] Managing acl_users via scripting

abg@comco-inc.com abg@comco-inc.com
Wed, 27 Nov 2002 11:46:31 -0600


In DTML:

<dtml-var expr="manage_addUserFolder()">
<dtml-call "REQUEST.set('name', username)">
<dtml-call "REQUEST.set('password', password)">
<dtml-call "REQUEST.set('confirm', password)">
<dtml-call "REQUEST.set('roles', ['Authenticated'])">
<dtml-call "acl_users.manage_users('Add',REQUEST,RESPONSE)">



-----Original Message-----
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Dan
Shafer
Sent: Wednesday, November 27, 2002 11:35 AM
To: Zope List
Subject: [Zope] Managing acl_users via scripting


I can't seem to find any docs on how to manage acl_users folder 
contents programmatically.

For example, can I write a Python script that will add a new user and 
password? How about a script that will change the password of an 
existing acl_user?

Or should I be using exUserFolder (or some other acl_users replacement 
product)?


_______________________________________________
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 )