well as admin using #userlist will give you the player ID, in which it checks for as the player connects and if the player is banned will possibly check their ID in the ban log and kick em if its in there.
So my assumption is OnPlayerConnected/Disconnected returns the player ID (the one listed when you click edit profile).