An administrator can configure either warnings or limitations when the number of active users reaches a chosen threshold. These options can be useful for teams tracking usage and maintenance needs. Warnings and user limits can be set independently and do not need to use the same threshold or messaging. Only administrators will see the banner messages.

Limit Active Users Administration Page

Open the > Site > Admin Console. Under Configuration, click Limit Active Users.

limitActive.PNG

Warn Based on the Number of Active Users

You can configure a warning message to be shown to administrators when the number of active users reaches a given threshold. Note that the administrator will still be able to add additional users (or reactivate any deactivated users). You can use string substitution to tailor the warning message to your needs.

  • Select Yes from the Warn based on the number of active users dropdown.
  • Specify the number of active users that should trigger the alert.
  • Include a warning message, possibly using a substitution token to remind the administrator of the threshold.

Limit the Number of Active Users

If desired, you can configure the system to stop allowing creation (or reactivation) of user accounts at a certain level. As with the above warning, you can provide a message to be shown to administrators when that threshold is reached. You can use string substitution to tailor the warning message to your needs.

  • Select Yes from the Limit the number of active users dropdown.
  • Specify the number of active users that should not be exceeded.
  • Include an alert message, possibly using a substitution token to remind the administrator of the threshold or suggesting next steps.

String Substitutions for Administrator Alerts

The warning messages you provide must be well-formed, properly-escaped HTML. They support string substitution of specific user limit properties. Each property and the current value on your server is shown below the configuration panel.

  • ActiveUsers: The current number of active users.
  • WarningLevel: The number of active users that will trigger a warning message.
  • LimitLevel: The number of active users that will trigger the "User limit message" and prevent addition of more users.
  • RemainingUsers: The difference between the LimitLevel and ActiveUsers, i.e. the number of users that can still be added before hitting the limit.
For example, a message value like:
Warning: This server can support ${LimitLevel} active users, and there are ${ActiveUsers} already. You can add or reactivate ${RemainingUsers} more users.

Would show to administrators as:

limitWarning.PNG

Related Topics

Was this content helpful?

Log in or register an account to provide feedback


previousnext
 
expand allcollapse all