Get user information from the Posit Connect server
Value
A tibble with the following columns:
email
: The user's emailusername
: The user's usernamefirst_name
: The user's first namelast_name
: The user's last nameuser_role
: The user's role. It may have a value of administrator, publisher or viewer.created_time
: The timestamp (in RFC3339 format) when the user was created in the Posit Connect serverupdated_time
: The timestamp (in RFC3339 format) when the user was last updated in the Posit Connect serveractive_time
: The timestamp (in RFC3339 format) when the user was last active on the Posit Connect serverconfirmed
: When false, the created user must confirm their account through an email. This feature is unique to password authentication.locked
: Whether or not the user is lockedguid
: The user's GUID, or unique identifier, in UUID RFC4122 format
Examples
if (FALSE) { # \dontrun{
library(connectapi)
client <- connect()
# get all users
get_users(client, limit = Inf)
} # }