I imagine it depends on your passport and/or country of residence.
i have two passports, with name A and B (B is slightly different than A)
my ticket was booked in name A, and passport that allow my entry is with name B. they had to get a supervisor involved to check me in because the passport with name A dont have a visa.