[Zope] Creating a new user

Arno Gross arno.gross@consotec.de
Wed, 2 May 2001 13:17:32 -0100


With the following code you can add a new user:

<dtml-call "REQUEST.set('name', 'theUserName)">
<dtml-call "REQUEST.set('password', 'thePassword)">
<dtml-call "REQUEST.set('confirm', 'thePassword')">
<dtml-call "REQUEST.set('domains', [])">
<dtml-call "REQUEST.set('roles', ['Manager', 'Owner'])">
<dtml-call "acl_users.manage_users('Add', REQUEST,RESPONSE)">

Best regards
   Arno

On Wed, 02 May 2001, Blue, Neil wrote:
> Hello,
> 
> I have been looking at the API and I can't find a way to create a user
> programatically. Am I right in thinking that this is not possible using the
> standar user folder?
> 
> Cheers
> Neil Blue