Limit users connected to mikrotik AP

Dear Friends,
Is there any method on limiting max users on 1 Wireless Adapter? like maximum accepting 20 users per wireless before denying a new user. This is a method for balancing load across 10 ap in one room (like mikrotik convention room).

any pointers will be gladly accepted

thanks

if you wont to limit users to conect to routerboard there is a vay like this:

add action=masquerade chain=srcnat comment=“” disabled=no out-interface=wan port src-address=max user ip on lan port exp:xxx2-xxx25. if some one with 26 ip cant go out
to internet because firewall does does not allow without your permission

The option you are looking for is Max-Station-Count (under advanced if you are looking at winbox), although I would probably recommend against it, as I could see it causing problems. If you have 30 people on one end of the room, the AP would stop people from connecting after 20, leaving 10 people to connect to the next AP at a greatly reduced signal strength, dragging the AP’s data rate down and potentially causing hidden node problems.

Instead, I would disable “default authenticate”, then add an entry under “Access List” which limits the signal strength range to something reasonable (-85 maybe?). This makes sure clients are always connected to the closest AP with a good signal. You can put a lot more clients on an AP than you might think, as long as they all have a strong signal.