confl_user {conflr}R Documentation

Non-admin User Operations

Description

Non-admin User Operations

Usage

confl_get_user(key = NULL, username = NULL, expand = NULL)

confl_get_current_user(expand = NULL)

Arguments

key

Userkey of the user to request from this resource.

username

Username of the user to request from this resource.

expand

A comma separated list of properties to expand. To refer the nested contents, use periods. (e.g. ⁠body.storage,history⁠).

Value

The API response as a list.

Examples

## Not run: 
# Get the information of the current user
my_user <- confl_get_current_user()

# Show display name
my_user$displayName

# Get the information of a user whose name is "user1"
other_user <- confl_get_user(username = "user1")

## End(Not run)


[Package conflr version 0.1.1 Index]