[Zope] Adding Users To Acl_users

Mike Kelland mike@studiomatic.com
Thu, 14 Dec 2000 12:04:22 -0500


Perfect, thank you so much!

Mike Kelland - slowly getting the hang of this whole Zope thing...
mike@studiomatic.com
----- Original Message -----
From: "Steve Drees" <drees@the-bridge.net>
To: "Mike Kelland" <mike@studiomatic.com>
Cc: "Zope@Zope. Org" <zope@zope.org>
Sent: Thursday, December 14, 2000 11:35 AM
Subject: RE: [Zope] Adding Users To Acl_users


> > Is it possible to add users to acl users from a form other than that in
> the acl_users folder?
> > I've tried replicating the form within a dtml-with acl_users tag with no
> luck so far, has
> > anyone actually done this and made it work?
>
> <dtml-call "REQUEST.set('name','bill')">
> <dtml-call "REQUEST.set('password','mypassword')">
> <dtml-call "REQUEST.set('confirm','mypassword')">
> <dtml-call "REQUEST.set('roles',['RegisteredUser'])">
> <dtml-call "acl_users.manage_users('Add',REQUEST,RESPONSE)">
>
> Creates a user bill with password mypassword and role of RegisteredUser
>
>
> _______________________________________________
> 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 )
>
>