Learn R Programming

googlesheets4 (version 0.1.0)

sheets_user: Get info on current user

Description

Reveals the email address of the user associated with the current token. If no token has been loaded yet, this function does not initiate auth.

Usage

sheets_user()

Arguments

Value

An email address or, if no token has been loaded, NULL.

See Also

gargle::token_userinfo(), gargle::token_email(), gargle::token_tokeninfo()

Examples

Run this code
# NOT RUN {
sheets_user()
# }

Run the code above in your browser using DataLab