Eviction: If you aren't on the lease or rental agreement
The landlord can include you in an eviction (unlawful detainer) court case even if your name is not on the lease or rental agreement. In this case, you have some options for how to respond.
If the landlord knows your name
If the landlord knows your name, they can put your name on the Notice they give tenants before they start an eviction (unlawful detainer) court case. Then, if they do start an eviction court case, they can list you in the Summons and Complaint.
You'll follow the same process as someone named on the lease.
Overview of the eviction process for tenants