getUser: Get the current user. This is either the logged in user or...

getUserR Documentation

Get the current user. This is either the logged in user or the 'sudo' user if in 'sudo' mode.

Description

Get the current user. This is either the logged in user or the 'sudo' user if in 'sudo' mode.

Usage

getUser(server)

Arguments

server

The server

Value

The current user

Examples

## Not run: 
user <- getUser(server)
message(paste(user$getUserName(), "is logged in"))

## End(Not run)

ome/rOMERO-gateway documentation built on Nov. 5, 2023, 9:29 a.m.