Mendix 7 is no longer supported unless you have Extended Support (for details, please contact Mendix Support). Mendix 7 documentation will remain available for customers with Extended Support until July, 2024.

Anonymous Users

Last modified: March 30, 2023

Allow anonymous users

Here you can configure whether anonymous users are allowed to access your application.

Value Description
Yes Anonymous users are allowed. End-users do not have to sign in to access the application. If the user clicks a button of which the microflow requires a user role other than the anonymous user role, the user is presented with a sign in screen.
No Anonymous users are not allowed. End-users have to sign in to access the application.

Anonymous user role

This is the user role that end-users of your application have when they are not signed in.

Sign-in microflow

When anonymous users are allowed, here you can optionally configure a sign-in microflow. This microflow can be used to transfer data from the anonymous user to the signed-in user. In this microflow the current user is set to the signed-in user.

The sign-in microflow has two parameters.

Name Type Description
AnonymousUser Object of entity ‘System.User’ The ‘User’ object of the anonymous user. This object will be automatically deleted after the execution of the sign-in microflow.
SignedInUser Object of entity ‘System.User’ The ‘User’ object of the signed-in user.

The sign-in microflow is executed when an end-user:

  1. Uses your application without signing in (thus as an anonymous user), and then
  2. clicks a button for which they do not have access, which causes a sign-in screen to appear, and then
  3. signs in to your application.