Description

External Python script for the creation of multiple user accounts.

Prerequisites

Installation and usage

  1. Copy "usercreationtool.py" to your moin instance root
  2. Create page with name from variable "magicpage" (e.g. "UserToCreateMagicPage") and write usernames as list or dictionary

  3. Just run "usercreationtool.py" from console with those parameters:

Options:
           --disableuser    disable the user with user id uid
                            this can't be combined with the options above!
        -s --save           if specified, save the accounts to disk
                            if not specified, no user will be added
        -g --group          parse the list in the magicpage
        -d --dict           parse the dict in the magicpage

One of -g or -d must be specified.

You can run the script again at any time you want.

Releases

Release for v1.5.x (may be)

usercreationtool_1.5.0_(may_be).py

Release for v1.7.2

usercreationtool_1.7.2_(09-03-12).py

Related issues

Discussion

Why not calling moin ... account create?

MoinMoin: ScriptMarket/UserCreationTool (last edited 2009-03-12 06:06:39 by TimLambert)