Administrator

Last modified: September 19, 2024

Introduction

In the Administrator tab of App Security, you can change the default credentials and a user role for the Administrator user:

Administrator Properties

In the Administrator tab the following properties are available:

User Name

The user name is used to sign into the application as the Administrator.

Default: MxAdmin

Password

The password is used to sign into the application as the Administrator. Click Show password to see the password.

Default: 1

Free Apps

The MxAdmin user is not created automatically when you deploy your app as a Free App. For licensed environments the MxAdmin user is created when you change the password for the first time, for example through the Environment Details for Mendix Cloud.

When your Free App has never been deployed and the database still needs to be created, any data snapshot you have added to your app will be restored to the database of your Free App. You can use this process to add the MxAdmin user to your Free App by doing the following:

  1. In Studio Pro, go to App > Security.
  2. With Security level set to Production, open the Administrator tab.
  3. Change the default password of the administrator user.
  4. Run you app locally. This will create a local database that includes the MxAdmin user.
  5. Once your app is running locally, stop it again.
  6. Open Version Control > Add Snapshot of Data.
  7. Click Yes to confirm committing the new data snapshot.

Your app now contains a data snapshot. If you deploy this app for a Free App for the first time, the snapshot will be restored to the database of the Free App. If there is already a database for your Free App, the snapshot will not be restored.

Alternatively you can log in as an administrator to a Free App deployed to the cloud, by doing the following:

  1. In Studio Pro, go to App > Security.
  2. With Security level set to Production, open the Demo users tab.
  3. Set Enable demo users to Yes.
  4. Add a demo_administrator having User role Administrator.
  5. Deploy your Free App to the cloud environment by clicking Publish.
  6. Log in using the demo-administrator and you can then create some user accounts.

User Role

The user role assigned to the Administrator. For more information, see User Roles.

Default: Administrator

Read More