roleprovider
500.19 Error from custom MembershipProvider
I have written a custom Membership Provider and Role Provider and locally these work great.They are pulling all the correct data and writing correctly.[详细]
2023-04-08 15:23 分类:问答ASP.NET Permission Frameworks?
Problem ASP.NET has no concept of associating permissions to roles. My app Current web application is using custom user membership and role providers.The app has 4 roles: superuser, admin, principa[详细]
2023-04-07 20:42 分类:问答Is there a ready made roles/membership framework for ASP.NET Web Forms?
There were few questions related to this but none answered the question in my head. Suggestions included Asp.net Membership system, a search on codeplex foundation or role out your own. Rolling out my[详细]
2023-04-07 06:49 分类:问答Cassini ignoring Win NT role authorization, IIS 7.5 all ok
I have an ASP.NET MVC 3 application running on both my local dev box (Win7) and staging server (W2k8r2).The application operates fine in both environments until ASP.NET Windows authorization security[详细]
2023-04-03 12:17 分类:问答ASP.NET How do you dynamically deny access to Role
I recently starting trying to use the ASP.NET 4 Membership and Role providers in my web applications. But I\'m having problems implementing a good security methodology.[详细]
2023-03-25 16:26 分类:问答What's the benefits of Custom Membership in .Net?
i\'m building a custom membership in .net and i don\'t understand real benefits of them, what the benefits? Here is my class that inherits from MembershipProvider:[详细]
2023-03-21 21:07 分类:问答Populating an @Html.DropDownListFor() using a custom Method in MVC
Ok so here is my problem.I\'m trying to populate an @Html.DropDownListFor() with my Roles minus the Admin Role.This works just fine, but it shows all roles:[详细]
2023-03-21 08:46 分类:问答ASP.NET Role Manager Feature Has Not Been Enabled
I\'m trying to create a routine in my asp.net\'s main page that will see if the current user is a member of a Windows domain group. The site is hosted in IIS and is visible through our intranet.[详细]
2023-03-18 05:27 分类:问答C# foreach leads to There is already an open DataReader associated error
I have the following bits of code in my accountRepository public string[] GetRolesForUser(string email)[详细]
2023-03-18 04:41 分类:问答Windows Authentication with custom (my own) RoleProvider don't work on IIS
I try to implement my own RoleProvider: public class MyRoleManger : RoleProvider { public override bool IsUserInRole(string username, string roleName)[详细]
2023-03-17 10:29 分类:问答