How to overload user data with new parameters properly?

For example, how to add additional characteristics to the user. What method to use to achieve these properly.
I have to add specials informations about user like association member status, and relation between.
How to do this in my app.
Or how to extend oc\user

Hi,

https://github.com/nextcloud/server/blob/eec982e34b6e1c559f54e63b8c0debabeb6e087f/lib/private/AppFramework/Services/AppConfig.php#L64-L74 is a method to store information for a user.

Most apps introduce their own service as wrapper around user config.