Stable Version 1.0.0 (OutSystems 10)
Published on 15 June 2018 by 
Created on 15 June 2018
Webblock to be used in other applications for testing users' roles. Changes the current user to test other user roles, in none Production mode. Test users must be created with a "TestNameAddition" (defined in a site property) and added the desired app roles.
Read More

This webblock is to be used in other applications for testing users' roles. 

If the server is running in development mode (environments that are not production), a Combobox is available with users that can be tested for that application. This users have to be created manually at the users page for each environment and associated with one application role. When a user is selected, the chosen user will be logged-in.

Test users must be created with a "TestNameAddition", defined in a site property, and added the desired app roles to that user.
Ex.: The Username or User Name must be:
- <TestNameAddition> + <Username>, if site properties "IsUseUsername = True AND IsTestNameAtBeginning = True"
- <TestNameAddition> + <User Name>, if site properties "IsUseUsername = False AND IsTestNameAtBeginning = True"

Note: If "IsTestNameAtBeginning" and "IsTestNameAtEnd" site properties are both "False" or both "True", the "TestNameAddition" can be anywhere in the name. "IsUseUsername" defines if is to display "Username" instead of "User Name".

Reviews (0)
Components, Developer Tools
Support Options
This component is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from J Miguel Garcia who created this component.
UserImpersonation has no dependencies.
Component Consumers
No consumers yet.
Weekly Downloads 
Related Components
Silk UI Web
OutSystems R&D
A fully responsive and beautiful UI framework that works within the OutSystems Platform. Build amazing looking applications, in a fraction of the time, which work perfectly across devices. Learn how to start using Silk UI and see the examples at . Obtain assistance on using Silk UI in our forums .
Architecture Team
A tool to discover and measure your architecture and understand how to improve
OutSystems Now
OutSystems R&D
OutSystems Now brings your OutSystems experience to any device.
More from J Miguel Garcia
J Miguel Garcia
Creates image(s) from provided PDF file path. Output image format can be bmp, gif, jpg, png or tiff. Usefull with the "FileSystem" extension
Drag Table
William Antunes
This module allow your end-users to drag columns within table records. Fully compatible with SilkUI
J Miguel Garcia
The Launchpad application is used as an entry point to provide access to other Outsystems applications