Learn R Programming

googlesheets4 (version 1.0.0)

gs4_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

gs4_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 {
gs4_user()
# }

Run the code above in your browser using DataLab