Use this library to export the users and groups - AEM Exporter
How to diff users between AEM instances | AEM 6.x
Senast uppdaterad den May 02, 2021 07:16:06 PM GMT
How do we compare users and groups between AEM instances?
There are some ACS Commons tools that could help in exporting users from AEM in order to perform a diff:
You would have to do some post-processing on the json to make it so you can compare it though.