Top "Asp.net-membership" questions

ASP.

How to set Request.IsAuthenticated to true when not using FormsAuthentication.RedirectFromLoginPage?

I am using Form Authentication and sending an Aajx request to the server for authentication. Based on the json result, …

asp.net ajax json authentication asp.net-membership
How can I access UserId in ASP.NET Membership without using Membership.GetUser()?

How can I access UserId in ASP.NET Membership without using Membership.GetUser(username) in ASP.NET Web Application Project? …

asp.net asp.net-membership membership
asp.net membership change password without knowing old one

Evaluting the method signature, it is required to know old password while changing it. membershipUser.ChangePassword(userWrapper.OldPassword, userWrapper.Password) …

asp.net asp.net-membership forgot-password change-password
The EXECUTE permission was denied on the object 'aspnet_CheckSchemaVersion', database 'XXX'

I use asp.net 4 C# and entity framework 4 with MS SQL 2008. I'm trying to set up my web application locally …

asp.net sql-server-2008 asp.net-membership
How to initialize database with Entity Framework and Membership tables

I have a MVC4 web application that use Entity Framework 5.0 Code First. In Global.asax.cs I have a bootstrapper …

asp.net-mvc entity-framework asp.net-membership asp.net-mvc-4 entity-framework-5
ASP.NET MVC 4 Web API Authentication with Membership Provider

I have an ASP.NET MVC 4 Project using the Web API. On the controller I have set the class to …

asp.net-mvc asp.net-membership forms-authentication asp.net-web-api fiddler
What does FormsAuthentication.SetAuthCookie do

I'm using A createuserwizard control. On the CreatedUser Event I placed this code to add the user to a role. …

asp.net security asp.net-membership
How do I get a list of roles for the currently logged in user

I want to know what roles a logged in user belongs to without having to check the user against all …

asp.net asp.net-membership
ASP.NET MVC redirect to an access denied page using a custom role provider

I'm creating a custom role provider and I set a Authorize attribute specifying a role in my controller and it's …

asp.net-mvc asp.net-membership roleprovider
Custom MembershipProvider in .NET 4.0

There are a few threads here at so about this matter but most of them are outdated and the reference …

asp.net asp.net-membership membership-provider