Work logs of William Yin

Month: July 2015

SharePoint

Check authentication type in SharePoint (Kerberos or NTLM)

When I had the requirement to check the authentication type via code in SharePoint, I did some quick search with Google, and found two main ways talked on internet. After played with both of them, I found using ServerVariables[HTTP_AUTHORIZATION] does not work well in my environment, while using HttpContext.Current.User.Identity.AuthenticationType is Read more…

By William Yin, 10 years ago July 6, 2015
SharePoint

JavaScript code quality – browser compatibility improvement

Just a very quick tip about fixing two common mistakes, which would make your JavaScript code throw error in some browsers. Shame Code 1: console.log(“log some message”); Never use a naked console.log() as you don’t know if the client browser has debug tool or not. If the client browser is Read more…

By William Yin, 10 years ago July 4, 2015
Recent Posts
  • Update SharePoint 2013 search result to show https URLs (SSL)
  • Check authentication type in SharePoint (Kerberos or NTLM)
  • JavaScript code quality – browser compatibility improvement
  • Known issue – LINQ to SharePoint + SPSecurity.RunWithElevatedPrivileges
  • Easiest way to apply a JS file in SharePoint site collection scope!
Categories
  • SharePoint
  • EnglishEnglish
  • 中文 (中国)中文 (中国)
Archives
  • August 2015
  • July 2015
  • June 2015
  • May 2015
  • March 2015
  • February 2015
Meta
  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
  • About Me
  • From the Editor
Hestia | Powered by WordPress