powered by
Call the whoami API to get information about the current LabKey user.
labkey.whoAmI(baseUrl=NULL)
A string specifying the baseUrl for the LabKey server.
baseUrl
Returns information about the logged in user including: displayName, id, email, and whether or not the user is impersonated.
labkey.security.impersonateUser, labkey.security.stopImpersonating
labkey.security.impersonateUser
labkey.security.stopImpersonating
# NOT RUN { library(Rlabkey) labkey.whoAmI(baseUrl="http://labkey/") # }
Run the code above in your browser using DataLab