Published on InterSystems Developer Community (https://community.intersystems.com)

Home > Change User of CSP Session

Question
David Hockenbroch · Feb 28, 2022

Change User of CSP Session

Is there a way, for testing purposes at least, to change a CSP session over to a different user? We have a lot of things in our system that are allowed or restricted based on the user login, so it would be useful for me to be able to occasionally run as a different user to see how things look and work for them. I've tried using the %CSP.Session.Login function, but that still shows the CSP session as being from the original user, not the one I've switched to.

#CSP #Caché
Product version: Caché 2018.1
$ZV: Cache for UNIX (Red Hat Enterprise Linux for x86-64) 2018.1.2 (Build 309U) Mon Mar 4 2019 15:07:46 EST

Source URL:https://community.intersystems.com/post/change-user-csp-session