Hi,
Where the beneficiacy under a contract sues in some other capacity.
This seems to be a legal question, rather than an English question.
Please supply some more context for these words, because it's a strange idea. To begin with, a contract is usually not considered to have a beneficiary. A contract is an agreement between two parties.
Best wishes, Clive