How to get Account ID of a user?

While importing Test case in QMetry for Jira v4.x there are fields - Assignee and Reporter. Due to GDPR changes user can not pass username or name in these fields. They can only pass Account ID of Assignee and Reporter user in this field. Below are the steps on how to get that account id for a user.