gs4_user function

Get info on current user

Get info on current user

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

Returns

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

Examples

gs4_user()

See Also

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