membership
Roles.GetRolesForUser(); returns blank
using asp.net membership api when I call Roles.GetRolesForUser(); it returns nothing. When I make a call Roles.GetAllRoles() all the roles are returned. What is the problem? Also what is the correct w[详细]
2023-01-31 01:51 分类:问答User Define Role and Right on Membership Provider on MVC
Dear All, I am using the membership provider of MVC framework, Now i want to implement the Role and Right on My project, All the Role and Right is available on database so how can i implement the Role[详细]
2023-01-29 23:27 分类:问答Why can't anonymous unions contain members with non-trivial constructors/destructors?
I may be mistaken, but the basic explanation I\'ve found has been that the union can\'t initialize because it doesn\'t know which member\'s constructor to call. The compiler can not automatically gene[详细]
2023-01-29 10:08 分类:问答How to keep passwords safe when a "Forgot Password" function is available
A colleague and I are discussing how to implement \"Lost Password\" feature on our company\'s proprietary web application.[详细]
2023-01-27 17:00 分类:问答Custom User properties/methods in ASP.Net Membership
I\'d like to add some custom instance properties to an ASP.Net User object. for example, I\'d like to log every user\'s login and have something like: User.LoginTimes or calculate the User Profile\'s[详细]
2023-01-27 16:02 分类:问答What are the pros and cons using the asp.net membership?
I\'m building a new website and a friend suggest to me to use the asp.net membership for the authentication process (login, 开发者_运维问答registration, password recovery, etc..).[详细]
2023-01-26 17:50 分类:问答Is ASP.NET Membership protected from Firesheep?
I have the impression that ASP.NET Membership encrypt开发者_如何学编程s its cookie by default.[详细]
2023-01-25 07:23 分类:问答MembershipUser class - Comments method doesn't work?
I\'m unable to set the Comments property of a MembershipUser object. For example: MembershipUser mu = Membership.GetUser(username);[详细]
2023-01-25 02:41 分类:问答Show/Hide html items in mvc application
i am using membership provider to get roles for开发者_运维技巧 the user that logged in to my application.[详细]
2023-01-24 14:41 分类:问答Preventing auto log out?
In ASP.NET Forms authentication how can I prevent or extend the time that ASP.NET from automatically logging me out? And, also what does that have to do with session state, i.e do I need to extend ses[详细]
2023-01-24 05:40 分类:问答