This documentation is for WSO2 Identity Server 5.2.0. View documentation for the latest release.
Page Comparison - Counting users and roles using Management Console and Admin Services (v.10 vs v.11) - Identity Server 5.2.0 - WSO2 Documentation

Versions Compared

Key

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

...

  1. Log in to the Management Console and navigate to users and roles.
  2. Under Users, you see a new table named "Count Users" where you can count (by clicking Count Users button) the number of users in each domain for different claims and user name patterns etc. (In this example '%admin' is given as search pattern) 
  3. Similarly, under Roles, you see a table named Count Roles where you can count roles in different user store domains.

Using the Admin Services

If you are using the Admin Services to count the users and roles, follow the below steps:

  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
    languagexml
    <HideAdminServiceWSDLs>false</HideAdminServiceWSDLs>
  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. 

Note
Currently, 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.