drive_user

0th

Percentile

Get info on current user

Reveals information about the user associated with the current token. This is a thin wrapper around drive_about() that just extracts the most useful information (the information on current user) and prints it nicely.

Usage
drive_user(verbose = TRUE)
Arguments
verbose

Logical, indicating whether to print informative messages (default TRUE).

Value

A list of class drive_user.

See Also

Wraps the about.get endpoint:

Aliases
  • drive_user
Examples
# NOT RUN {
drive_user()

## more info is returned than is printed
user <- drive_user()
user[["permissionId"]]
# }
Documentation reproduced from package googledrive, version 1.0.0, License: MIT + file LICENSE

Community examples

Looks like there are no examples yet.