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

googlesheets4 documentation built on July 9, 2023, 7:40 p.m.