For how many years can a player be signed to a contract?

A player can be signed via the Auction to a contract lasting anywhere between 1-4 years. Contracts for players drafted are automatically 4 years. And players signed in-season are just 1-year deals.