The first form of this function returns a complete list of all players currently logged on. The second form returns the player whose name matches the given string, if there is one, or null if there isn't.