I have created a custom entity Model with it's model and ext.js app as well. It lets me to create new entities in shopware backend as it is described here:
https://developers.shopware.com/developers-guide/backend-components/listing/
I then linked the entry to the s_user with s_user_attributes table as it is shown here:
https://developers.shopware.com/developers-guide/attribute-system/
$crud->update('s_user_attributes', 'recommendedStream', 'single_selection', [
'displayInBackend' => true,
'label' => 'Recommended stream',
'entity' => 'Shopware\Models\ProductStream\ProductStream',
This let's me to select the entity and see the list of all those entities in a selector in backend settings of a customer.
I want to know what is the easies and correct way to have a selector for user attributes with options as all the entries which can be created in backend.