How to ensure connecting client cannot input same player name as existing client

Is there any way to achieve this via Blueprint? Ideally the client would not be allowed to connect if the name he specifies for himself is the same as someone else already connected. At the worst I could let him connect then run the check and kick him off if the name already exists. In this case I know how to run the check, just not how to disconnect him.