KNOWLEDGE BASE
Log In    |    Knowledge Base    |    4D Home
Tech Tip: Changing user login without restarting your application
PRODUCT: 4D | VERSION: 6.8 | PLATFORM: Mac & Win
Published On: July 18, 2002
Your current browser may not allow you to download the asset. We recommend Mozilla Firefox or Google Chrome.
Log In

While developing an application, it is frequently necessary to do testing logged on as a user other than the Designer. To change access level without restarting the application, follow these steps:

1. Set up your password system users and groups, and activate the password system by assigning the designerĖ‡s password.

2. Create a method that has one line of code, the CHANGE ACCESS command.

3. In the User Environment, go to the Special menu, and select the Execute Method menu item. Now, execute the method containing the CHANGE ACCESS command, and the password dialog box will be displayed enabling you to log into the application as a different user.

This technique will save you the time of restarting your application when you need to test your application from the perspective of different users.