IBM Security Verify

Shape the future of IBM Security Verify

We invite you to shape the future of IBM, including the product roadmap, by submitting ideas that matter to you the most.

Here's how it works:

Post your ideas

Start by posting ideas and requests to enhance a product or service. Take a look at ideas others have posted and upvote them if they matter to you,

  1. Post an idea

  2. Upvote ideas that matter most to you

  3. Get feedback from the IBM team to refine your idea

Submit a private idea

If you have confidential information or customer data to share with your idea, then - DO NOT submit using the link below, instead - please open a private feature request.

And finally - if its an issue with expected behaviour, a product defect or a support need, open a Support Case

totalUser count in the /Users API

API to return the total user count that meet the filter criteria of /Users API – currently the API provides the feature to paginate and we have to write logic every time to iterate over the pages just to get the final count.

  • Guest
  • Jan 19 2021
  • Admin
    MILAN PATEL commented
    8 Sep, 2021 07:39pm

    hey Chandan - Milan here taking over for Adam. I see that this req has been accepted and is something we are looking to queue up for a roadmap item.

    For your specific use case of "For an example if we want to get the count of total users who meet a filter criteria on the email attribute that has @gmail.com at the end" - what are you looking to achieve with that data?

    Are you just doing monthly reporting that you simply want to know the counts of specific search criteria over a period of time to see if the number of gmail.com domain users are decreasing or increasing over time? The requirement is understood but wanting to understand the business driver in case this can be achieved in a better way. So specifically what does the count of a search criteria provide in the context of what you are looking to do with that total count for something else?

  • Guest commented
    23 Mar, 2021 02:22pm

    Thank you for your response. This helps clarify the ask. We will accept the RFE and add it to our development queue. At this time we do not have a timeline to provide, however should you have immediate need for this item, please reach out further to your sales or customer success representative.

  • Guest commented
    12 Mar, 2021 02:48pm

    Thank you for the response Adam. What we are looking specifically here is the totalUsers count not from /cardinality but from /Users API, additionally with a filter on /Users API. For an example if we want to get the count of total users who meet a filter criteria on the email attribute that has @gmail.com at the end - the current process is to get the query /Users API and paginate over the thousands if not millions of reconds in our tenant and get the total count. What we are request here is to pvide the totalUsers as well when the result set is sent back the first the we run the query - this would help us with two things; one, our reporting mechanism will be greatly imporved and two, it will help us with enhanced pagination capbilities.


    Please let me know if you have any questions.

  • Guest commented
    29 Jan, 2021 03:07pm

    Thank you for your idea. We are working on exposing this API to the documentation but you can make this call today. Call the following endpoint:

    GET /v2.0/Users/cardinality?attributes=totalUsers

    Response:

    {
    "totalUsers": 842,
    "schemas": [
    "urn:ietf:params:scim:schemas:ibm:core:2.0:user:Cardinality"
    ]
    }

    At this time we will mark as already exists, thanks again!

By clicking the "Post Comment" or "Submit Idea" button, you are agreeing to the IBM Ideas Portal Terms of Use.
Do not place IBM confidential, company confidential, or personal information into any field.