Skip to contents

Get the name of the current user from the environment variables

Usage

user(osType = .OStype())

Arguments

osType

Optional. Type of operating system, one of "unix", "windows"

Value

character string represenging the name of the current user