Created on 15 June 2018
icon_unfollowing
Login to follow
userimpersonation

UserImpersonation

Stable version 1.0.0 (Compatible with OutSystems 11)
Also available for 10
Uploaded on 15 June 2018 by 
userimpersonation

UserImpersonation

Details
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".



Release notes (1.0.0)
Reviews (0)
Category
Development tools, User management
Tags
Support options
This asset is not supported by OutSystems. You may use the discussion forums to leave suggestions or obtain best-effort support from the community, including from  who created this asset.
Dependencies
UserImpersonation has no dependencies.
Application Objects
UserImpersonation has 0 AOs.
Team
Compatible with
Version 11
Version 10
Stack:
All
Database:
All
Asset consumers
No consumers yet.
Weekly downloads 
Related assets