createAdmin: Create a content migration.

View source: R/createAdmin.R

createAdminR Documentation

Create a content migration.

Description

Create a content migration with migrator type and a settings list. Does not currently support file uploads. Limited testing conducted on various migrators.

Usage

createAdmin(
  accountID,
  userID,
  roleID,
  send_confirmation = FALSE,
  server = "test",
  ...
)

Arguments

accountID

Account ID of context to import into.

userID

User ID of individual to make admin.

roleID

ID number of the role.

send_confirmation

Boolean to send notification

server

Test, beta, prodcution, OR alternative name in R.environ OR url of server

...

Optional page options to pass to processRequest


erikpal/bRush documentation built on May 9, 2023, 8:27 p.m.