Simulate users

Simulate users

How can I enter as a different user. I need to test entering as a manager to check if views are ok.

I have to have a valid email?

Is there a way to simulate?