To ask someone his/her name in a formal manner, we use
To ask someone his/ her country of origin (informal)
To ask someone his/her profession
To formally ask someone his/ her workplace, we use:
To ask about a third person's name, we use
To ask for a third person's profession:
To ask for the place where a third person works, we use