Simulate login
m ((username removed) (log details removed): Moving to Documentation namespace)
(Automatically adding template at the end of the page.)
 
Line 5: Line 5:
[[File:2017-03-27 10h30 49.png|left|thumb]]
[[File:2017-03-27 10h30 49.png|left|thumb]]
[[Category:MDriven Designer]]
[[Category:MDriven Designer]]
{{Edited|July|12|2024}}

Latest revision as of 15:46, 10 February 2024

In the MDrivenDesigner System prototyper, it is possible to add an expression to simulate login. This will be useful if your logic checks the current user - the prototyping does not identify the current user and requests no login.

Consider this expression in the "Exp to run on start" box:

SysSingleton.oclSingleton.CurrentUser := SysUser.allinstances->select(username='someusername')->first
2017-03-27 10h30 49.png
This page was edited 99 days ago on 02/10/2024. What links here