suso_getUSR: Survey Solutions API call any user

View source: R/suso_api_user.R

suso_getUSRR Documentation

Survey Solutions API call any user

Description

Get any user's info

Usage

suso_getUSR(
  url = suso_get_api_key("susoServer"),
  usr = suso_get_api_key("susoUser"),
  pass = suso_get_api_key("susoPass"),
  uid = NULL,
  workspace = NULL,
  token = NULL
)

Arguments

url

Survey Solutions server address

usr

Survey Solutions API user

pass

Survey Solutions API password

uid

user id

workspace

If workspace name is provide requests are made regarding this specific workspace, if no workspace is provided defaults to primary workspace.

token

If Survey Solutions server token is provided usr and pass will be ignored

Examples

## Not run: 
suso_getUSR(
          workspace = "myworkspace",
          uid = "xxxx-xxxx-xxxx-xxx"
          )

## End(Not run)


michael-cw/SurveySolutionsAPI documentation built on Jan. 14, 2024, 2:58 a.m.