Who vs. Whom: It’s Not as Complicated as You Might Think.
Who should be used to refer to the subject of a sentence.
Whom should be used to refer to the object of a sentence.
When in doubt, try this simple trick: If you can replace the word with ‘he’ or ‘she,’ use who. If you can replace it with ‘him’ or ‘her,’ use whom.