Connect to SQL Server as a different windows user.

Sometimes, we want to connect to sql server(local or remote) as a different Windows user(not the one you are already logged in).
In that case–> Go to Run and type
RunAs /User:DomainName/UserName SSMS.exe

This is will prompt for password and after you enter the password, it will let you connect to sql server as a different windows user.