how can i create a new user without useing the management screen
Hello I search for a function that can create a new user. (acl_users) And a function to check if a user is allready created. I dont know if this is correct but i tried manage_users(). The problem is that I dont know the correct syntax. <dtml-call "manage_users(Username, Password, confirm,roles,domain)"> And where can i find documentation about Zope's function? Maybe someone can help me Thanks Jens ______________________________________________________ Get Your Private, Free Email at http://www.hotmail.com
This should help, remember roles is a list <dtml-call "REQUEST.set('name', userName)"> <dtml-call "REQUEST.set('password', password)"> <dtml-call "REQUEST.set('confirm', confirm)"> <dtml-call "REQUEST.set('roles', roles)"> <dtml-call "acl_users.manage_users(submit='Add', REQUEST=REQUEST)"> DR
participants (2)
-
Daniel G. Rusch -
jens ebaer