User creation restrictions based on the purchase plan.

If a customer buys a basic package of mendix including 50 users on Mendix cloud.  Is there any way that mendix app know about this package ? Actually we need to restrict the user creation based on the purchase plan.  So that App developer can make money by adding more users. Please comment on this scenario.
1 answers

You can create a constant saying how much users your license have and check that constant. Constants are configurable when you deploy an app, so it can be different for each environment.