Database relation

Hello, I want to ask about Relation DB in Nextcloud in the user section.
When we create a new user in nextcloud, which tables record the user ?
I need that information to combine the nextcloud talk to my own app. So I can register a user with my app and that user recorded in Nextcloud DB like I create the user on Web.

oc_users and oc_groups - at least. But be carefull.

owhhh, thankyou. I will try it.

Probably easier to use the api to create user accounts: https://docs.nextcloud.com/server/18/admin_manual/configuration_user/user_provisioning_api.html

that’s API is very helpfull
but I need add == -H 'OCS-APIRequest: true in end of API

ThankYou :slight_smile: