labkey.whoAmI: Call the whoami API

View source: R/labkey.defaults.R

labkey.whoAmIR Documentation

Call the whoami API

Description

Call the whoami API to get information about the current LabKey user.

Usage

labkey.whoAmI(baseUrl=NULL)

Arguments

baseUrl

A string specifying the baseUrl for the LabKey server.

Value

Returns information about the logged in user including: displayName, id, email, and whether or not the user is impersonated.

Author(s)

Cory Nathe

See Also

labkey.security.impersonateUser, labkey.security.stopImpersonating

Examples

## Not run: 

library(Rlabkey)

labkey.whoAmI(baseUrl="http://labkey/")


## End(Not run)

Rlabkey documentation built on Oct. 23, 2024, 5:06 p.m.