Skip to contents

Given an authentication token, return a list of user-specfic information such as the user ID, username, available credits, email, groups, last login date and more.

Usage

arc_user_self(
  host = arc_host(),
  token = arc_token(),
  error_call = rlang::caller_call()
)

Arguments

host

default "https://www.arcgis.com"

token

an httr2_token as created by auth_code() or similar

error_call

the caller environment to be used when propagating errors.

Value

a list of the authenticated user's metadata

References

API Reference