Hi,
your friend's visit visa is valid up to 5 years. some people get multiple visa for 10 years if the passport is valid for 10 years. If your friend's passport expire in 5 years then that might explain why he got 5 years. When he enters Canada the border officer will tell him how long he can...