First be logged as JIRA administrator and then access the visible only to such user cog icon:
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