We need to report the last time users logged in and when their last invitation was if they haven't accepted it yet. All this information is available when I export users from the Users list (Email, Account Status, Last invitation, Last Login Time). I use Account status to know if the invitation is pending, if the invitation expired, if the account is disabled, and if the account is enrolled. Based on those statuses, I check the Last login time, and the last invitation. I tried the same using the API and EnterpriseApi.ps1, but it doesn't seem to have all the same fields. Is there a way to get this via the API?