At runtime you have control over adding users. You can use the GetUserNames() function to tell you how many users are currently configured, then either allow or block adding additional users based on that.
In development mode, there is no way to limit the number of users.