How to assign different users to different departments?

Hi Community!   The use case : Users can sign up and login to the application. User can add departments and automatically user should be assigned to departments. How the particular logged in user gets assigned to  particular department? Any suggestions would be helpful!   Thanks in advance!
1 answers

It sounds like you might want to use a reference set selector. In this selector you can display all the departments the user can choose from. If they choose them from the list, a reference between them and the department is set. It's not “automatic”, but unless you have the data of which department they belong to in an external system you can call (with an API or so) it's probably your best bet.