Category Archives: Claim Authentication

“Input string was not in a correct format” error with People Picker and custom claim provider

In SharePoint 2013 I implemented a custom claim provider with search and resolve functionality and everything appeared to work fine. I was able to search and resolve users, grant them permissions to the site, and they were able to login … Continue reading

Posted in Claim Authentication, People Picker, SharePoint | 4 Comments

Connecting to SQL from SharePoint with claims based authentication and integrated security

Recently I had to retrieve data from SQL Server and display in a SharePoint portal. Data security trimming was implemented in SQL, which means I needed to connect to SQL using the current user’s identity. ASP.NET impersonation is enabled by … Continue reading

Posted in Claim Authentication, SharePoint | Leave a comment

How to detect user is locked out when using Form Based Authentication in SharePoint 2010

When using FBA in SharePoint 2010 you get the error message below on login when the user name and/or password is incorrect. You get the same error message when the user account is locked out, which is not very useful … Continue reading

Posted in Claim Authentication, Form Based Authentication, SharePoint 2010 | 1 Comment

Lessons learnt in implementing ASP.NET login controls in SharePoint 2010

Recently I had to implement Create User, Change Password, Password Reset (Recovery) in SharePoint 2010. I decided to use the OOTB ASP.NET login controls for this. Mostly these controls just worked in SharePoint 2010 as they do in ASP.NET. There … Continue reading

Posted in Claim Authentication, Form Based Authentication, SharePoint 2010 | Leave a comment

Making WebRequest to SharePoint using Windows Authentication in Mixed Mode Authentication

Mixed mode authentication is when both Form Based Authentication (FBA) and Windows Authentication are enabled on the SharePoint site. I was writing some code to download a file from SharePoint in this scenario. The code needs to authenticate using Windows … Continue reading

Posted in Claim Authentication, Form Based Authentication, Mixed Mode Authentication | Leave a comment

URL for Windows Authentication in SharePoint 2010

When using Claims Authentication in SharePoint 2010 you can configure multiple authentication providers for your site. Specifically, you can use both Windows Authentication and Form Based Authentication – and your site users can choose which method to use to authenticate to … Continue reading

Posted in Claim Authentication, SharePoint 2010 | 4 Comments

Setting up trusted domain in SharePoint 2010: An exception occurred in AD claim provider when calling SPClaimProvider.FillSearch(): Requested registry access is not allowed.

I was setting up trusted domain for the people picker in SharePoint 2010. I was able to get it to work on one environment but not the other. On the environment that wasn’t working, the steps to set it up … Continue reading

Posted in Claim Authentication, SharePoint 2010 | 8 Comments