First be logged as JIRA administrator and then access the visible only to such user cog icon:
access system from the drop-down menu
next please go as presented below by clicking on "Users"
In order to export users to Excel perform "export to Excel" action:
*you can limit the number of users by "filter user" (before clicking on "Export to Excel" button)
Other operations are the same as in Export projects to Excel