[Zope] howto set up a large set of users in a school

Robert Rottermann robert@redcor.ch
Sat, 19 Oct 2002 08:39:56 +0200


there is a better function to do that
userFolderAddUser(self, name, password, roles, domains, **kw)
robert
----- Original Message -----
From: "Dylan Reinhardt" <Dylan@DylanReinhardt.com>
To: <zope@zope.org>
Sent: Saturday, October 19, 2002 6:24 AM
Subject: Re: [Zope] howto set up a large set of users in a school


> The acl_users folder object has a method:
>
> _addUser(self,name,password,confirm_pw,[roles],[domains],REQUEST=None)
>
> I'm pretty sure confirm_pw is the last required argument.
>
> Wherever your data comes from, iterate over it and call this method ~1300
> times.
>
> Setting up 1300 user accounts is easy... it's the *administration* of that
> many accounts that'll get you.  You may want to think about setting up
> tools to administer those accounts without having to open acl_users in the
> manage_edit interface.  Getting anything done with that many objects in a
> folder can be a bit tedious.
>
> HTH,
>
> Dylan
>
>
> At 04:26 AM 10/19/2002 +0000, you wrote:
> >Hi
> >I would like to set up a zope site for my school with user profiles and
> >authentication (1200 high school students in my London based school). At
> >the moment I have a php/mysql solution.
> >How do I set up 1300 users (100 teacher accounts)? I don't fancy adding
> >manually into acl_users?
> >
> >Suneil
> >
> >
> >
> >
> >_______________________________________________
> >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 )
>