add_permission: Add permission for a file

Description Usage Arguments Value

View source: R/permission.r

Description

Add permission for a file

Usage

1
2
add_permission(file_id, email, role = "reader", type = "user",
  token = get_access_cred(), ...)

Arguments

file_id

the ID of a file

email

email address to be added

role

the primary role of the user

type

the account type

token

a valid OAuth2.0 token

...

any other argument to be passed to the API call

Value

permission id


jarodmeng/driveR documentation built on May 18, 2019, 4:48 p.m.