get_user_id_by_email: Get User Id from username

View source: R/nabat_gql_queries.R

get_user_id_by_emailR Documentation

Get User Id from username

Description

Uses GQL to query username for user ID

Usage

get_user_id_by_email(
  username,
  token,
  branch = "prod",
  url = NULL,
  aws_gql = NULL,
  aws_alb = NULL,
  docker = FALSE
)

Arguments

username

String NABat username (email)

token

List token created from get_nabat_gql_token() or get_refresh_token()

branch

(optional) String that defaults to 'prod' but can also be 'dev'|'beta'|'local'

url

(optional) String url to use for GQL

aws_gql

(optional) String url to use in aws

aws_alb

(optional) String url to use in aws

docker

(optional) Boolean if being run in docker container or not


usgs/nabatr documentation built on Jan. 28, 2024, 7:10 a.m.