to switch users we are currently using application.closeSolution(‘mySolution’). This closes the solution and re-opens it. The problem is, that security.login always returns false in our login method. I suspect it is because the user has not been logged out by closeSolution?
OK. That’s what I thought. Now the issue is that I want to re-open the original solution and not show the solution dialog. That can be done with closeSolution(solutionToOpen), but not with security.logout(). So it seems I can either logout the user and show the solution dialog or do not logout the user but reload the solution right. That’s unpleasant.
What’d be nice then is either
optional parameter for closeSolution that logs out the user
optional parameter for logout that allows to pass a solution to load afterwards