> 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  -  [EMAIL PROTECTED]
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://lists.zope.org/mailman/listinfo/zope-dev )

Reply via email to