Jim,

It can be done, eg

 loop thru source.acl_users
   for each user object
     stuff REQUEST with name,password,confirm (password again) and roles, eg
     REQUEST.set('name',username), etc
     context.Destination.acl_users.manage_users('Add',REQUEST,RESPONSE)


David



In DTML: (via google)
 <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)">



Jim Abramson wrote:
merging the contents of two acl_users folders

Can it be done?

If not that, the ability to move selected users from one acl_users to another would be a decent plan B.

This is a one-time move, so I consider any effective solution viable, even if some manual hacking is involved.

Thanks for any help,
Jim



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

Reply via email to