Top "Roleprovider" questions

Built-in and custom implementations of ASP.

MVC4: UserIsInRole - Unable to connect to SQL Server database

Breaking my head around with this, yesterday it worked fine and today it seems to be broken: This line is …

sql-server asp.net-mvc roleprovider
Where does Web.HttpContext.Current.User.Identity.Name come from?

I have FormsAuthentication.SetAuthCookie("someName", True) as part of my custom login sequence. Later, I have some page only allowing …

asp.net forms-authentication httpcontext roleprovider
IsUserInRole calls GetRolesForUser?

When I implement the RoleProvider class and call Roles.IsUserInRole(string username, string roleName), code execution first goes to the …

c# .net roleprovider
is there an authorizeattribute equivalent to just standard web forms (not MVC) for .net

I'm working on a project that will use windows role providers and I want to limit functionality to certain AD …

.net webforms roleprovider authorize-attribute
Remove asp.net membership and roles provider

For whatever reason, the site I was working on (after a bit of pause) begun screaming about an sql server …

asp.net-membership roleprovider
ASP.NET Multi tenant application with tenant specific roles

We have a multi-tenant ASP.NET application. So far tenants have been isolated from each other, however now we have …

c# asp.net asp.net-mvc-3 asp.net-membership roleprovider
ASP.NET MVC - FormsAuthentication.SetAuthCookie() and RolesIsUserInRole - wierd behavior

I have something like this: FormsAuthentication.SetAuthCookie(user, false); var tmp = Roles.IsUserInRole("administrator"); var _tmp = Roles.IsUserInRole(user, "administrator"); …

c# asp.net-mvc asp.net-mvc-3 forms-authentication roleprovider
Default Role Provider could not be found on IIS 7 running .NET 4

Good morning all, I am attempting to implement my custom membership and role providers in my web application that I …

c# iis web-applications membership-provider roleprovider