labkey.whoAmI {Rlabkey}R 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



library(Rlabkey)

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



[Package Rlabkey version 2.8.2 Index]