Description Usage Arguments Value Examples
When setting permissions, any permissions left undefined will be enabled by default. If no permissions are included at all, then a default set of predefined permissions will be used. If a division permission is disabled at the organization level, then it will be disabled at the division level regardless of its state.
1 | create_division(name, division_admins = NULL, permissions = NULL)
|
name |
the division name |
division_admins |
A JSON array of user ids to make division admins |
permissions |
A JSON object defining the division permissions. |
The id of the created division
1 2 3 4 5 6 | ## Not run: create_division("newdivision", "DV_1234567890AbCdE")
## Not run:
admins <- list("UR_1234567890AbCdE", "UR_1234567890AbCdS")
create_division("newdivision", "DV_1234567890AbCdE", admins)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.