This documentation is for WSO2 Identity Server 5.2.0. View documentation for the latest release.
Page Comparison - Counting Users and Roles with APIs (v.2 vs v.3) - Identity Server 5.2.0 - WSO2 Documentation

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • count the number of users based on user names patterns and claims
  • count the number of roles matching a role name pattern in the user store 
Info

By default, only JDBC user store implementations support this service but the functionality can be extended to LDAP user stores or any other type of user store as well.

This service uses a property in the CountRetrieverClass user store manager configuration, where you can configure the class name that carries the count implementation for a particular user store domain.

Using the service

The functionality, exposed through the UserStoreCountService, includes the following operations. 

...