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.

gs4_user()

Value

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

See also

Examples

gs4_user()
#>  Logged in to googlesheets4 as
#>   googlesheets4-dev-docs@robust-fin-276504.iam.gserviceaccount.com.