[Zope] addUser
Max M
maxmcorp@worldonline.dk
Tue, 13 Mar 2001 21:39:42 +0100
From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Paz
>I've been surfing around the .py's trying to find a way to add a user via
>dtml... Am I barking up a non-existant tree?
>I see alot of _addUser, doAddUser, manage_users.addUser, but nothing seems
>to work. Is there a method I can call?
this works for me ...
<dtml-call "REQUEST.set('name', name)">
<dtml-call "REQUEST.set('password', password)">
<dtml-call "REQUEST.set('confirm', confirm)">
<dtml-call "REQUEST.set('domains', [])">
<dtml-call "REQUEST.set('roles', ['Student'])">
<dtml-call "acl_users.manage_users('Add', REQUEST, RESPONSE)">
Max M. W. Rasmussen, Denmark. New Media Director
private: maxmcorp@worldonline.dk work: maxm@normik.dk
-----------------------------------------------------
Shipping software is an unnatural act