Simulate login
(Created page with "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 pro...")
 
(Updated Edited template to July 12, 2025.)
 
(9 intermediate revisions by 4 users not shown)
Line 1: Line 1:
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.
<message>Write the content here to display this box</message>
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:
Consider this expression in the "Exp to run on start" box:
  SysSingleton.allinstances.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|thumb|none|463x463px]]
[[Category:MDriven Designer]]
{{Edited|July|12|2025}}

Latest revision as of 06:02, 20 January 2025

This page was created by Hans.karlsen@mdriven.net on 2017-03-27. Last edited by Edgar on 2025-01-20.

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
MDriven Chat

How would you like to chat today?

Setting up your conversation…

This may take a few moments