I currently have a SharePoint 2013 Web Application using Claims and FBA, once the user logs in I can see the ClaimsIdentity object, and in there is the Claims collection. How would I go about adding a claim such as country to the claims?

1 Answer 1


You'll have to write a custom claims provider and override the FillClaimsForEntity method (cf. http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.administration.claims.spclaimprovider.fillclaimsforentity(v=office.15).aspx).

I hope this helps.



Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.