View source: R/labkey.security.R
labkey.security.stopImpersonating | R Documentation |
Stop impersonating a user while keeping the original user logged in.
labkey.security.stopImpersonating(baseUrl=NULL)
baseUrl |
A string specifying the |
If you are currently impersonating a user in this session, you can use this function to stop the impersonation and return back to the original user logged in.
To start an impersonation session use
labkey.security.impersonateUser
.
Returns a success message based on a call to labkey.whoAmI
.
Cory Nathe
labkey.whoAmI
,
labkey.security.impersonateUser
## Not run:
library(Rlabkey)
labkey.security.stopImpersonating(baseUrl="http://labkey/")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.