Administrator

Last update: Edit

1 Introduction

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

2 Administrator Properties

In the Administrator tab the following properties are available:

2.1 User Name

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

Default: MxAdmin

2.2 Password

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

Default: 1

2.2.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 the 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 project 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 project locally. This will create a local database that includes the MxAdmin user.
  5. Once your project 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 project now contains a data snapshot. If you deploy this project 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.

2.3 User Role

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

Default: Administrator

3 Read More