Hotspot with Shifting VLANs

Dear All,
I hope you are safe from the virus and enjoying quarantine.

I have a question.
I have a bridge port and on it I am running a Hotspot. What I want to do is, when User “A” is connected and logs in via its login, the router should move it to the vlan assigned to that user.
Is that possible ?

Can anyone guide?
I know how to make hotspot and vlans and run DHCP servers on it, I just need to know that if the router can perform that feature.

Take care and do reply.

How did the user join to begin with? WLAN?

Well, I have a bridge port, and under that i have 2 Ether ports (as slave). Hotspot is working on the main Bridge. On the ether ports, I have attached Unifi devices.
I dont mind changing the ports. I just want to achieve the functionality.

Again: 1 port (any port, bridge or ether) and under that Vlans. Hotspot on the master port and when the user logins via the his given login, the router shifts it to its desired/assigned Vlan.

Why not whatever SSID the perso connects to initially determines what network he belongs to… ssid1= vlan10, ssid2=vlan20 and so on??

Well that can be a good solution. Let me check and revert back to you. Thanks for the idea :slight_smile: