add/delete acl_user in dtml
Greetings, I want to add and delete users using dtml. I found a how-to which indicates I can add a user using: <dtml-let name="'Your_Name'" password="'Your_Password'" roles="'Owner'" domains="''"
<dtml-var "py_addUser(_.None,acl_users,name,password,roles,domains)"> </dtml-let> However, when I try this, I get: Error Type: NameError Error Value: py_addUser Any help would be much obliged. Steve
Steven Turoff writes:
I want to add and delete users using dtml. I found a how-to which indicates I can add a user using:
<dtml-let name="'Your_Name'" password="'Your_Password'" roles="'Owner'" domains="''"
<dtml-var "py_addUser(_.None,acl_users,name,password,roles,domains)"> </dtml-let>
However, when I try this, I get:
Error Type: NameError Error Value: py_addUser
Any help would be much obliged. Almost surely, the HowTo tells you how to define "py_addUser". You need to do it! It is not a builtin.
Dieter
participants (2)
-
Dieter Maurer -
Steven Turoff