take someone’s name in vain - definition and synonyms

phrase often humorous
  1. to talk about someone in a way that shows a lack of respect for them
See also main entry: vain