R/user.R

Defines functions systemUsername userIdentity

Documented in systemUsername userIdentity

#' Get User Identity
#' 
#' Returns the identity (displayed name) of the current user.
#' 
#' 
#' @export userIdentity
userIdentity <- function()
{
  callFun("userIdentity")
}



#' Get System Username
#' 
#' Returns the system username of the current user.
#' 
#' 
#' @export systemUsername
systemUsername <- function()
{
  callFun("systemUsername")
}

Try the rstudioapi package in your browser

Any scripts or data that you put into this service are public.

rstudioapi documentation built on Oct. 23, 2024, 1:07 a.m.