get_groups: Get group information from the Posit Connect server

View source: R/get.R

get_groupsR Documentation

Get group information from the Posit Connect server

Description

Get group information from the Posit Connect server

Usage

get_groups(src, page_size = 20, prefix = NULL, limit = 25)

Arguments

src

The source object

page_size

the number of records to return per page (max 500)

prefix

Filters groups by prefix (group name). The filter is case insensitive.

limit

The max number of groups to return

Details

Please see https://docs.posit.co/connect/api/#getGroups for more information

Value

A tibble with the following columns:

  • guidThe unique identifier of the group

  • nameThe group name

  • owner_guidThe group owner's unique identifier. When using LDAP, or Proxied authentication with group provisioning enabled this property will always be null.

Examples

## Not run: 
library(connectapi)
client <- connect()

# get all groups
get_groups(client, limit = Inf)

## End(Not run)


connectapi documentation built on Feb. 16, 2023, 7:46 p.m.