space_member_usage: Get member usage information

View source: R/members.R

space_member_usageR Documentation

Get member usage information

Description

Returns the list of members and their usage information for a given space. You must either be the admin of the space or your role must have permissions to see the members list. Result will include true last_activity (date user was last active) only if only if the time window is less than or equal to 31 days. For longer time periods last_activity for all users will be reported as NA regardless of the true date of their last activity.

Usage

space_member_usage(space, filters = NULL)

Arguments

space

A space object created using rscloud_space().

filters

A vector of filters to be AND'ed and applied to the request.

Examples

## Not run: 
# Usage in the last 30 days for each user, will report last_activity
space_member_usage(space, filters = list(groupby = "user_id", from = "30d"))

# Usage in the last 90 days for each user, will not report last_activity
space_member_usage(space, filters = list(groupby = "user_id", from = "90d"))

## End(Not run)


rstudio/rscloud documentation built on Oct. 8, 2022, 4:24 p.m.