Adds a NocoDB user account on a NocoDB server without any user interaction. E-mail invitation is bypassed and the user's e-mail address is automatically validated. A convenience function that combines several of the other functions found in this package.
Usage
add_user(
user_email,
user_password,
display_name = NULL,
subscribe_to_newsletter = FALSE,
hostname = pal::pkg_config_val("hostname"),
email = pal::pkg_config_val("email", require = TRUE),
password = pal::pkg_config_val("password", require = TRUE),
quiet = TRUE
)
Arguments
- user_email
E-mail address of the user to sign up. A character scalar.
- user_password
Password of the user to sign up. A character scalar.
- display_name
Name to be displayed for the user in NocoDB.
Whether or not to subscribe the signed up user to the NocoDB newsletter.
- hostname
NocoDB server hostname. A character scalar.
E-mail address of the NocoDB user to authenticate with.
- password
Password of the NocoDB user to authenticate with.
- quiet
Whether or not to suppress printing status output from internal processing.
Value
A tibble with metadata about the updated NocoDB user, invisibly.
Details
add_user()
does not support authentication via API tokens because of update_app_settings()
.
See also
Other functions to manage NocoDB users:
base_users()
,
delete_base_user()
,
delete_user()
,
invite_base_user()
,
invite_user()
,
resend_base_user_invitation()
,
sign_up_user()
,
update_base_user()
,
update_user()
,
user_id()
,
users()
,
validate_user_email()
,
whoami()