dfp_createUsers: UserService

Description Usage Arguments Details Value See Also Examples

Description

Provides operations for creating, updating and retrieving User objects.

Usage

1
dfp_createUsers(request_data, as_df = TRUE, verbose = FALSE)

Arguments

request_data

a list or data.frame of data elements to be formatted for a SOAP request (XML format, but passed as character string)

as_df

a boolean indicating whether to attempt to parse the result into a data.frame

verbose

a boolean indicating whether to print the service URL and POSTed XML

Details

A user is assigned one of several different roles. Each Role type has a unique ID that is used to identify that role in an organization. Role types and their IDs can be retrieved by invoking #getAllRoles.

createUsers

Creates new User objects.

Value

a data.frame or list containing all the elements of a createUsersResponse

See Also

Google Documentation for createUsers

Examples

1
2
3
4
5
6
7
## Not run: 
request_data <- data.frame(name = paste0("TestUser", 1:3),
                           email = paste0('testuser', 1:3, '@gmail.com'), 
                           roleId = rep(-1, 3))
result <- dfp_createUsers(request_data)

## End(Not run)

ReportMort/rdfp documentation built on June 9, 2019, 9:21 p.m.