and more in a single search tool across platforms. Read the announcement here. |
11/08/2022 07:50 AM
Hi Team,
We have this api for to get USer list
{{url}}/ECM/{{path}}/user?q=accountExpired:0&fields=firstname,lastname,username&sort=username&order=desc&offset=2&max=2
but its listing total users on the results.
Can you let us know how to find total number of users in saviynt from api ?
11/08/2022 10:39 AM
You can create an analytics and run analytics api to fetch the user count
11/08/2022 10:53 AM
{{url}}/ECM/{{path}}/user?q=statuskey:0&fields=firstname,lastname,username&sort=username&order=desc&max=600
11/08/2022 09:24 PM
The max parameter allows you to define the number of results you can retrieve in a call. It is an optional parameter but defaulted to 50. You could use this to get the total users by passing an abnormal high number in your get call but for production environment purposes, it is not recommended. A better approach would be to create an analytics as Nikhil suggested and the use the API to get the details.
11/09/2022 08:47 PM
Ok Thankyou
11/10/2022 08:32 AM
@IAM_99 - Be sure to click the "Accept As Solution" button on the reply that best answered your question. This will help future users who have a similar question. Thank you.