Learn R Programming

Rlabkey (version 2.8.0)

labkey.whoAmI: 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.

See Also

labkey.security.impersonateUser, labkey.security.stopImpersonating

Examples

Run this code
# NOT RUN {
library(Rlabkey)

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

# }

Run the code above in your browser using DataLab