Combine onions, cream cheese, parmesan cheese and mayonnaise in a bowl and mix well.
Spoon into a pie plate or quiche pan.
Bake at 425° for 15 minutes or until golden brown.