Hi,
When users are imported, a password file is generated in /var/lib/ucs-school-import/summary//…
controlled in the config file by
“output”:{
“new_user_passwords”:
Currently this password file has the columns
“username”,“password”,“role”,“lastname”,“firstname”,“schools”,“classes”
How can it be extended to also include the primary or all mail addresses?
Any help is appreciated
Michael
There is no way to extend it (except by modifying the source code or writing a plugin).
But a file user_import_summary_DATE.csv is generated (configuration output:user_import_summary, docs). It contains the email attribute of all handled users, including the newly created ones.
If you need other properties, and you’re into scripting, you can use the value in the username column and retrieve the other properties with:
udm users/user list --filter uid=USERNAME | egrep 'e-mail:|mailAlternativeAddress:|mailPrimaryAddress:|PasswordRecoveryEmail:'