We can do it in two ways.
First way:
Just type the url : http://siteurl/_layouts/closeConnection.aspx?loginasanotheruser=true
Second way:
In your sharepoint server installed Server:
We can do it in two ways.
First way:
Just type the url : http://siteurl/_layouts/closeConnection.aspx?loginasanotheruser=true
Second way:
In your sharepoint server installed Server: