Setting email with occ doesn't show in GUI?



Using Owncloud 10, latest, installed fresh today.

I am trying to add a user through the occ utility so that I can script the addition of 100+ users.

I've done this:

export OC_PASS=test
su -s /bin/sh www-data -c '/usr/bin/php /var/www/html/owncloud/occ user:add --password-from-env --group="CCC-RW" --group="All-R" test.user\'
su -s /bin/sh www-data -c '/usr/bin/php /var/www/html/owncloud/occ user:setting test.user\ settings email --value ""'

The email setting seems to be set okay:

root@LIN01:# su -s /bin/sh www-data -c '/usr/bin/php /var/www/html/owncloud/occ user:setting test.user\'
  - core:
    - lang: en_GB
  - firstrunwizard:
    - show: 0
  - settings:
    - email:
    - firstrunwizard: 0

However when I log into the web interface as '' the 'Email' box in the user settings is blank.

Am I doing something wrong?



Email addresses for users are stored in the accounts table in ownCloud 10.


I checked out the documentation on this and see that the admin manual is misleading and does not include an example updated for ownCloud 10. I have filed an issue at the documentation repository to get this updated:


I just implemented this onto the user:add command hopefully this will make 10.0.3 or you can use the patch file


Maybe you can help review the code and feature and give your feedback on the github pull request?