EnterpriseyIntranet / nextcloud-API

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

add more options to create user #50

Closed iexos closed 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

iexos commented 4 years ago

switching to json posting seems to break stuff :( any idea how to solve this?

scrutinizer-notifier commented 4 years ago

The inspection completed: No new issues

iexos commented 4 years ago

close in favor of #51 (it was a stupid idea to use master branch for PR origin)