Skip to content

Instantly share code, notes, and snippets.

@iOnline247
Created April 28, 2017 15:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save iOnline247/8d18329e12fdb0d9e0cd2a3d5c55e344 to your computer and use it in GitHub Desktop.
Save iOnline247/8d18329e12fdb0d9e0cd2a3d5c55e344 to your computer and use it in GitHub Desktop.
Prompts user to login to a SharePoint site
javascript:(function(a){a.location.href=("undefined"!=typeof _spPageContextInfo?_spPageContextInfo.webAbsoluteUrl:a.location.origin+L_Menu_BaseUrl)+"/_layouts/closeConnection.aspx?loginasanotheruser=true"}(window));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment