Role providers provide the interface between Microsoft ASP.NET's role management service (the "role manager") and role data sources

learn more… | top users | synonyms

1
vote
1answer
140 views

Add FBA Roles to SharePoint 2013 site and assign permissions programmatically

I have a problem with adding a FBA role to a sharepoint 2013 site programmatically. I tried web.ensureuser method and web.Siteusers.Add() methods and none of them works for me. SPUser spUser = ...