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.
drive_user(verbose = TRUE)
verbose |
Logical, indicating whether to print informative messages
(default |
A list of class drive_user
.
Wraps the about.get
endpoint:
## Not run: drive_user() ## more info is returned than is printed user <- drive_user() user[["permissionId"]] ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.