[Zope] Managing acl_users via scripting

Dan Shafer dan@danshafer.com
Wed, 27 Nov 2002 10:55:38 -0800


Thank you! I appreciate the quick and detailed response.

I'll translate these into Python scripts and use them. This may fix a 
major problem I've been battling!

On Wednesday, November 27, 2002, at 09:46  AM, abg@comco-inc.com wrote:

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