One liner command to retrieve list of active users - IPA/Red Hat IDM

It's possible to get a list of users of active users in IDM/IPA with formatted date and time by running this one liner command. It gets you the list of users with last successsful authentications to IDM/IPA server. Very handy command when it's required for Audit purposes. It will also give you the list of users who last changed password and you can modify it according to your requirements.