get_user: Get the current user

Description Usage Arguments Details Value

View source: R/user-utils.R

Description

This function gets the name of the current user, which is used to set the 'Creator' and 'Last Modified By' fields when running report_from_sql() or report_from_data()

Usage

1
get_user(default = getOption("qr.user"))

Arguments

default

A default which can be set using options()

Details

If a default is not set this function gets the username from

Value

A character vector of length 1


wurli/quickReport documentation built on Dec. 23, 2021, 6:13 p.m.