Generate and set a Super API token for a provided REDCap user
Source:R/credential_management.R
set_super_api_token.Rd
Generate and set a Super API token for a provided REDCap user
Arguments
- conn
a DBI database connection, such as that from
get_redcap_db_connection
- username
a REDCap username
Examples
if (FALSE) { # \dontrun{
conn <- get_redcap_db_connection()
my_new_super_token <- set_super_api_token(conn, "admin")
} # }