Table of Contents
createcontext
is the tool to create new contexts. A context is an independent instance within the createcontext Open-Xchange system and holds users, groups and resources and all their objects. Data from one context is not visible to other contexts. Module access (calendar,tasks,email)can be set via predefined "access combination names". These names can be configured on the server side. All users which are created during later use of the "createuser" tool will inherit the module access rights from the context. If you do not specify any access rights on createcontext minimal access rights will be granted. Currently, these are Webmail and Contacts access rights.
-h,--help | Prints a help text |
--environment | Show info about commandline environment |
--nonl | Remove all newlines (\n) from output |
-c,--contextid <integer> | The id of the context, when starting with 0, 0 is deleted |
-q,--quota <integer> | Context wide filestore quota in MB |
-u,--username <string> | Username for the new context Admin user |
-d,--displayname <string> | Displayname for the new context Admin user |
-g,--givenname <string> | Given name for the new context Admin user |
-s,--surname <string> | Surname/last name for the new context Admin user |
-p,--password <string> | Password for the new context Admin user |
-e,--email <string> | Primary E-Mail address for the new context Admin user |
-l,--lang <lang> | Language for the new context Admin user |
-t,--timezone <timezone> | Timezone for the new context Amin user |
-N,--contextname <string> | Context name |
-L,--addmapping <string> | Add login mappings separated by "," |
--access-combination-name <access-combination-name> | Access combination name |
-A,--adminuser <string> | Master Admin user name |
-P,--adminpass <string> | Master Admin password |
contextid {adminuser adminpass} quota username displayname givenname surname password email
On success:
context <contextid> created
On failure:
context <contextid> could not be created: <reason from server>