Simulate login
No edit summary
No edit summary
Line 4: Line 4:
  SysSingleton.oclSingleton.CurrentUser := SysUser.allinstances->select(username='someusername')->first
  SysSingleton.oclSingleton.CurrentUser := SysUser.allinstances->select(username='someusername')->first
[[File:2017-03-27 10h30 49.png|left|thumb]]
[[File:2017-03-27 10h30 49.png|left|thumb]]
[[Category:MDriven Designer]]

Revision as of 15:56, 28 May 2018

In the MDrivenDesigner System prototyper there is a possibility to add an expression to simulate login. This will come in handy if your logic checks the current user - the prototyping does not identifiy 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 80 days ago on 02/10/2024. What links here