retrieve_user: Retrieve a user

Description Usage Arguments Value Author(s) Examples

View source: R/users.R

Description

Retrieves information for a specific user. Core API call Retrieve a User

Usage

1
retrieve_user(server_name, profile_id, user_id, access_token)

Arguments

server_name

String of the iFormBuilder server name

profile_id

Integer of the iFormBuilder profile ID

user_id

Integer of the user ID to retrieve.

access_token

Access token produced by get_iform_access_token

Value

List containing the user details

Author(s)

Bill DeVoe, William.DeVoe@maine.gov

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
## Not run: 

# Get a list of details for a given user
user_info <- retrieve_user(
  server_name = "your_server_name",
  profile_id = 123456,
  user_id = user_id,
  access_token = access_token)

## End(Not run)

arestrom/iformr documentation built on Nov. 25, 2021, 11:21 p.m.