When troubleshooting issues, it is important to know how many users are available and licensed in that instance.
Use cases include:
developers and support understanding about the user and group caches needs
identify potential improvements in the user directory configuration by reducing the number of users synchronized vs the ones being licensed
identify effective number of users (vs license seats)
Provide such information as part of the user directory configuration in the application.xml.
Run the following queries to retrieve the number of users and groups per directory:
collect number of users
collect number of groups
average number of groups per user
Use application specific options to retrieve the number of licensed users.