Create User Accounts Tool¶
Implementation of the update-users tool contained in sk.py.
Creates a user account for each member in the people table, if an email
adress is specified in the comments column.
Interface¶
-
class
pysk.tools.UpdateUsers(parent)¶ Create user accounts for web interface
Parameters: parent ( ToolBase) – Parent tool-
createUserAccounts()¶ Create user accounts and sent emails.
-
static
defaultConfiguration(config=Namespace(debug=False, force=False, logStream=<open file '<stderr>', mode 'w' at 0x7f3f8ea231e0>, parseCommandLine=True, verbose=1))¶ Get default configuration options
Parameters: config (object) – Input configuration. Existing attributes will be overwritten. Returns: Default configuration object
-