If you need to limit the number of simultaneously logged on users, for performance, political or any other reason, edit:

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LanmanServer\Paramaters

Double click on Users and set this REG_DWORD. You will need to reboot.