Online Accounts: can I create an account programmatically?


We would like to configure Nextcloud to all our users. Since both Nextcloud and the machines get users from AD/LDAP, so the password is the same.
It would be great to have

  • Nextcloud accounts configured automatically
  • SSO, either by reusing the login password, or by using kerberos (the first is better, actually)

Is this possible?