[Zope] Creating a new user

demiQ demic.pabalan@q-linux.com
Wed, 2 May 2001 22:37:59 +0800


-----Original Message-----
From: Paula Mangas <pamm@students.si.fct.unl.pt>
To: Steve Drees <drees@the-bridge.net>
Cc: zope@zope.org <zope@zope.org>
Date: Wednesday, May 02, 2001 10:02 PM
Subject: RE: [Zope] Creating a new user


>
>
>
>Hi!
>
>
>You can find the answer to your question on User.py file. You can find it
>on the zope hierarchy. your_zope_directory/lib/python/AccessControl

Hi paula, I just want to ask a question related to this.(newbie)

After creating a new user, how will i access the web pages that was created
by the new user, what is the default page ? http://example.com:8080/???
>
>Paula
>
>
>
>On Wed, 2 May 2001, Steve Drees wrote:
>
>> How would one do this in a python script?
>>
>> > -----Original Message-----
>> > From: zope-admin@zope.org [mailto:zope-admin@zope.org]On Behalf Of Arno
>> > Gross
>> > Sent: Wednesday, May 02, 2001 9:18 AM
>> > To: Blue, Neil; zope@zope.org
>> > Subject: Re: [Zope] Creating a new user
>> >
>> >
>> > 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
>> >
>> > _______________________________________________
>> > Zope maillist  -  Zope@zope.org
>> > http://lists.zope.org/mailman/listinfo/zope
>> > **   No cross posts or HTML encoding!  **
>> > (Related lists -
>> >  http://lists.zope.org/mailman/listinfo/zope-announce
>> >  http://lists.zope.org/mailman/listinfo/zope-dev )
>> >
>>
>> _______________________________________________
>> Zope maillist  -  Zope@zope.org
>> http://lists.zope.org/mailman/listinfo/zope
>> **   No cross posts or HTML encoding!  **
>> (Related lists -
>>  http://lists.zope.org/mailman/listinfo/zope-announce
>>  http://lists.zope.org/mailman/listinfo/zope-dev )
>>
>
>--
>
>============================================================
> Quando tiver duvidas, nao questione aqueles que so' tem
> certezas, pois corre o risco de ficar com mais duvidas!...
>------------------------------------------------------------
>Paula Monteiro Mangas
>
>e-mail: Paula.Mangas@mail.com
>URL: http://students.fct.unl.pt/~pamm/
>TMV:    (+351) 96 2559034
>============================================================
>
>
>_______________________________________________
>Zope maillist  -  Zope@zope.org
>http://lists.zope.org/mailman/listinfo/zope
>**   No cross posts or HTML encoding!  **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
>