[Zope] Adding users via external method

ethan mindlace fremen mindlace@digicool.com
Tue, 27 Jun 2000 21:36:55 -0400


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