gs4_user: Get info on current user

View source: R/gs4_auth.R

gs4_userR Documentation

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()

Value

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

See Also

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

Examples

gs4_user()

tidyverse/googlesheets4 documentation built on Jan. 4, 2024, 10:20 a.m.