Timothy Grant wrote:

> I have come upon some situations where I also need to add Roles. I can find
> nothing archived nor on the Zope site about programmatically adding Roles.
> Can anyone assist me?

hmm.  I don't know how you're adding users without indicating their
roles.

I do this:

  <dtml-call "acl_users.manage_users('Add',REQUEST)">

where REQUEST includes these variables:

name
password
confirm
roles

And roles is a list.

-- 
ethan mindlace fremen
Zopatista Community Liason

_______________________________________________
Zope maillist  -  [EMAIL PROTECTED]
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 )

Reply via email to