Section 172(2) in The United Provinces Tenancy Act, 1939
(2)In any suit for ejectment under this section any person claiming through the tenant may be joined as a party, and, where the plaintiff's cause of action is based wholly or partly on any act or omission or breach of condition by a sub-lessee or other transferee, such sub-lessee or other transferee shall be joined as a party.