#the form that the user fills in to add themselves to the database #a simple example:
Name:
Password:
Confirm password:
#to cycle through all available roles and add them to a selection box #do the following: User roles:

#that's it with the form! now for the python script #the python script which your form calls context.acl_users.manage_users('Add', context.REQUEST) return "User added!" #note: you must have an acl_users folder in the same directory as the form and the python script. #Note: there is an optional property for a user, the domain field. #to add it, just add it to the form as follows: Domains: