Information about specific applications

Hi all,

Thanks for this article.

https://solutions.rstudio.com/deploy/tracking/#get-user-list

This gives great information about usage. But i did try to see if we can get which users has access to what application? This is something I feel that is important. Can we get this information? please let me know

Thanks

https://docs.rstudio.com/connect/api/#getShinyAppUsage

Hi All, I was referring above link to get few information. But can we get which users has access to what application?

Hey @vinayprakash808

Apologies for the delay here! There is not a public / documented way to do this, unfortunately, although I am happy to share this feedback with our product team for future improvements!

However, there is an experimental R package connectapi that exposes some of this functionality. The experimental functionality is subject to change on new RStudio Connect releases, so please ensure that your reports do not break before upgrading RStudio Connect.

You are welcome to give that a try. We would love to hear any feedback you have on the usefulness of this workflow and whether it meets your needs!

# remotes::install_github("rstudio/connectapi")

library(connectapi)
client <- connect()
all_content <- get_content(client, limit = Inf)

all_content %>% group_by(access_type) %>% tally()
# A tibble: 3 x 2
#   access_type     n
#   <chr>       <int>
# 1 acl           378
# 2 all           113
# 3 logged_in       9

# for "acl" based content
guid <- "some-app-guid"
get_acl_user(content_item(client, guid))
get_acl_group(content_item(client, guid))
2 Likes

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.