Skip to contents

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.

subscribe_to_newsletter

Whether or not to subscribe the signed up user to the NocoDB newsletter.

hostname

NocoDB server hostname. A character scalar.

email

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().