create_user | R Documentation |
Creates a new uers with all the specified properties. Wrapper for POST /api/v1/users
endpoint.
create_user(
role,
supervisor = "",
user_name,
user_password = "",
full_name = "",
phone_number = "",
email = "",
verbose = FALSE,
server = Sys.getenv("SUSO_SERVER"),
workspace = Sys.getenv("SUSO_WORKSPACE"),
user = Sys.getenv("SUSO_USER"),
password = Sys.getenv("SUSO_PASSWORD")
)
role |
Character. Role in data collection. Accepted values: |
supervisor |
Character. User name of supervisor. Required for |
user_name |
Character. User name. |
user_password |
Character. Password for user account. |
full_name |
Character. Full name of user. (Optional) |
phone_number |
Character. Phone number for user. (Optional) |
email |
Character. Email address for user. (Optional) |
verbose |
Logical. If |
server |
Character. Full server web address (e.g., |
workspace |
Character. Name of the workspace whose users to get. In workspace list, value of |
user |
Character. API user name |
password |
Character. API password |
Side-effect on the server: APPROVE interview. If verbose == TRUE
, return logical outcome and print message.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.