addAuthorizedUser: Add authorized user to application

View source: R/auth.R

addAuthorizedUserR Documentation

Add authorized user to application

Description

Add authorized user to application

Usage

addAuthorizedUser(
  email,
  appDir = getwd(),
  appName = NULL,
  account = NULL,
  server = NULL,
  sendEmail = NULL,
  emailMessage = NULL
)

Arguments

email

Email address of user to add.

appDir

Directory containing application. Defaults to current working directory.

appName

Name of application.

account, server

Uniquely identify a remote server with either your user account, the server name, or both. If neither are supplied, and there are multiple options, you'll be prompted to pick one.

Use accounts() to see the full list of available options.

sendEmail

Send an email letting the user know the application has been shared with them.

emailMessage

Optional character vector of length 1 containing a custom message to send in email invitation. Defaults to NULL, which will use default invitation message.

Note

This function works only for ShinyApps servers.

See Also

removeAuthorizedUser() and showUsers()


rstudio/rsconnect documentation built on April 30, 2024, 2:14 p.m.