[Zope-DB] creating users in mysqlFolder from script

Gál László Gal.Laszlo at peto.hu
Fri Feb 13 03:15:55 EST 2004


Hi!

I need some mysqlFolder help.
This line of script
container.company().acl_users.manage_users_create(None, 
              req.username, req.password1, passwd_type, roles, req.realname,  '', [])
casuses an error:
  Error Type: Unknown role: (useIDP, YY)
  Error Value: None
where YY is an id of the contaner, which has acl_users, but I 
dunno how that id mixed with roles?
useIDP is a role, no problem with that part
roles is a list comes from request.roles

Thanks,

Lac

-- 
Europe now without walls - who needs Gates?
http://latz.linsze.hu 



More information about the Zope-DB mailing list