You can remember the meaning of 当事人 with this easy mnemonic:
The person to be (当) involved in this matter (事) is one man (人), and one man only.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.