This documentation is for WSO2 Identity Server 5.2.0 . View documentation for the latest release.

Versions Compared


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


  1. Download the product from the WSO2 product page.
  2. Add the below property inside <UserStoreManager class="org.wso2.carbon.user.core.jdbc.JDBCUserStoreManager"> configuration in <IS_HOME>/repository/conf/user-mgt.xml.

    Code Block
    <Property name="CountRetrieverClass"></Property>

    Note: For this example, a JDBC User store is used as the primary user store

  3. Start the server.

Once you are done with the configurations, you can count the users and roles using one of the following ways:


  1. Change the HideAdminServiceWSDLs property in <IS_HOME>/repository/conf/carbon.xml to false to get access to the WSDL's of the admin services.

    Code Block
  2. Access the WSDL of UserStoreCountService service by browsing https://localhost:9443/services/UserStoreCountService?wsdl. If the WSDL is loading, access the methods of the service through SoapUI. Here, you will have access to additional methods (CountByClaimsInDomain, countClaims) than from the Management Console. 


By default,

this feature supports only JDBC User Stores. But users have the capability to extend this feature by writing their own class and implementing the correct interfaces

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.