Hi Experts,
I’m trying to develop a custom reports to show inactive users on each of my source in Identitynow. Could someone please help me with guide / document to develop this using API.
Hi Experts,
I’m trying to develop a custom reports to show inactive users on each of my source in Identitynow. Could someone please help me with guide / document to develop this using API.
Hi Chandra,
To assist the community in answering your question, can you provide some more information?
Hi Colin,
Thanks for the reply.
Is Days since last login (Calculated) an account attribute on your source? Where does this value come from?
No its not an attribute, It is just calculated from the LAST_LOGIN date (attribute onthe source).
There might be a way to do this with the built-in search in IDN, but it would be an advanced query if it is possible. You could just create a script that calls our APIs to generate your report. You will need the following APIs:
sourceId
into the filters
query param. This will return all the accounts for the source. You will have to paginate the results if you have more than 250 accounts in a source.LAST_LOGIN
date for the account is greater than 45 days. If so, add the account a list that you will use to generate the report.Thanks for the information,
I have tried to get accounts for one of my source by passing the source ID in to filters query param in Postman. But it is giving accounts that are actually not present in the source when I look through GUI.
Also can you please help me with below item.
Write some logic in your script to calculate if the LAST_LOGIN
date for the account is greater than 45 days. If so, add the account a list that you will use to generate the report. – So this logic need to be written in the body with Post request to the source???
Once you have all of your inactive accounts, save the list to a format like CSV so you can view the results in Excel… - I’m expecting this report to be available in INow->Admin->Global->Reports. So i can just click on generate and download… is there an option to define the report through API.