EnterpriseyIntranet / nextcloud-API

NextCloud OCS API for Python
GNU General Public License v3.0
27 stars 27 forks source link

Create user options #51

Open iexos opened 4 years ago

iexos commented 4 years ago

Add all options for user creation as in https://docs.nextcloud.com/server/14/admin_manual/configuration_user/instruction_set_for_users.html#add-a-new-user

This is required to be able to send welcome mails without setting a password.

It was necessary to switch post requests to send json, as python requests apparently cannot handle arrays with content-type x-www-form-urlencoded

There are failing checks that I don't know how to resolve, I still open this PR in case it is useful. Otherwise just close it

scrutinizer-notifier commented 4 years ago

The inspection completed: No new issues