labkey.security.stopImpersonating: Stop impersonating a user

View source: R/labkey.security.R

labkey.security.stopImpersonatingR Documentation

Stop impersonating a user

Description

Stop impersonating a user while keeping the original user logged in.

Usage

labkey.security.stopImpersonating(baseUrl=NULL)

Arguments

baseUrl

A string specifying the baseUrl for the LabKey server.

Details

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.

Value

Returns a success message based on a call to labkey.whoAmI.

Author(s)

Cory Nathe

See Also

labkey.whoAmI, labkey.security.impersonateUser

Examples

## Not run: 

library(Rlabkey)

labkey.security.stopImpersonating(baseUrl="http://labkey/")


## End(Not run)

Rlabkey documentation built on Oct. 23, 2024, 5:06 p.m.