Command line to export a user/username

OJS plugin supports import and export of users, using command line tool:
php tools/importExport.php UserImportExportPlugin export out.xml journal-path

Is there any way to extend the tool to export for example a user/registrant from a given journal?

Cheers
Obi

Hi @obi

You can export a given user if you know the user ID and the journal path.
To do that you will need to run the following command (replacing the variables):

www/tools $ php tools/importExport.php UserImportExportPlugin export [xmlFileName] [journal_path] [userId]

Best,
Israel