Users can be exported using segments, from Users -> Segments
- Add desired user conditions and activity to the segment, and click Save
- Go to Export tab to either download a CSV file or automatically export to a FTP server. Configure a FTP server before if you need to.
- Select user attributes you want to include in the CSV file. Those will be the CSV header.

If you choose Generate Export Now, a file will be generated and made available for download under Users -> Exports.
Note that there is a limit of 3 exports per 15 minutes, in order to limit pressure on the system.
If you want to have a recurring download of CSV files to a FTP server, please read more here.