My question involves an eviction in the state of: NY

I'm asking this on behalf of the landlord:

1. What exactly constitutes a landlord? the names on the deed or ?

2. If it is based on the names of the deed etc and one of the names is out of town due to work can the other person on the deed go to court instead or does it have to be the person on the lease?

Thanks if any of that is confusing ask and i'll clarify the best I can