Learn R Programming

Rlabkey (version 3.3.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)

Value

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

Arguments

baseUrl

A string specifying the baseUrl for the LabKey server.

Author

Cory Nathe

See Also

labkey.security.impersonateUser, labkey.security.stopImpersonating

Examples

Run this code
if (FALSE) {

library(Rlabkey)

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

}

Run the code above in your browser using DataLab