get_group_members | R Documentation |
Get users within a specific group
get_group_members(src, guid)
src |
A Connect client object |
guid |
A group GUID identifier |
Please see https://docs.posit.co/connect/api/#get-/v1/groups/-group_guid-/members for more information.
A tibble with the following columns:
email
: The user's email
username
: The user's username
first_name
: The user's first name
last_name
: The user's last name
user_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 server
updated_time
: The timestamp (in RFC3339 format) when the user
was last updated in the Posit Connect server
active_time
: The timestamp (in RFC3339 format) when the user
was last active on the Posit Connect server
confirmed
: 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 locked
guid
: The user's GUID, or unique identifier, in UUID RFC4122 format
Other groups functions:
get_group_content()
,
get_groups()
## Not run:
library(connectapi)
client <- connect()
# get the first 20 groups
groups <- get_groups(client)
group_guid <- groups$guid[1]
get_group_members(client, guid = group_guid)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.