| showUsers | R Documentation |
List authorized users for an application
Supported servers: ShinyApps, Posit Connect Cloud
showUsers(
appDir = getwd(),
appName = NULL,
contentId = NULL,
account = NULL,
server = NULL
)
appDir |
Directory containing application. Defaults to current working directory. |
appName |
Name of application. |
contentId |
On Posit Connect Cloud, the content ID to manage, taken from
the content URL
( |
account, server |
Uniquely identify a remote server with either your
user Use |
A data frame with one row per authorized user. Columns always
present: id, email, account. The account
column is populated on shinyapps.io only and is NA on Posit Connect
Cloud. On Posit Connect Cloud the data frame additionally includes
display_name and role (e.g. "viewer" or
"collaborator") from the API response.
This function works for ShinyApps and Posit Connect Cloud.
On Posit Connect Cloud, the content is resolved from the local deployment
record under appDir, which defaults to the working directory. Pass
appDir to point at the project directory that contains the
rsconnect/ deployment record. appName selects among multiple records in
the same directory. Alternatively, pass contentId to target the
content directly, without a local deployment record.
addAuthorizedUser() and showInvited()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.