How do you say what is your name in Poland?

"What is your name?" in polish: "Jak masz na imię?"

Also 'Jak się nazywasz?' (direct translation - what are you called)