Questions tagged [asp.net-membership]

ASP.NET membership gives you a built-in way to validate and store user credentials.

ASP.NET Membership works on top of forms-authentication and gives you:

  • Ability to create and store users and their passwords with little or no code.
  • Out-of-the-box support for changing, resetting, retrieving and encrypting passwords.
  • Choice of two storage locations - SQL Server and Active Directory.
  • Custom providers can be created to store users in custom stores

Resources

MSDN - Introduction to Membership
4guysfromrolla - Examining ASP.NET's Membership, Roles, and Profile

3256 questions
1
vote
3 answers

Best way to register different types of users asp.net mvc

I am looking to register 2 styles of user, they will both have different sets of data in the database. I am looking to use asp.nets membership roles. Are there any simple ways to do this in an mvc app using maybe the account controller?
ddd
  • 1,399
  • 3
  • 19
  • 44
1
vote
1 answer

Datetime values incorrect within stored procedure, related to .NET membership user validation

I'm having a strange problem with SQL Server 2008, in which some datetime variables within stored procedures are getting incorrect values (1754-01-01). Here is the background/context of the situation: I'm working on an ASP.NET web application using…
Mike Mertsock
  • 11,825
  • 7
  • 42
  • 75
1
vote
1 answer

how to use Themes and culture asp.net?

I have multiple companies and multiple cultures according to companies. And also having themes with companies and cultures. How to setup all those things ?
1
vote
1 answer

Logging with asp membership from any page?

Is it possible? It means i hope to create the widget to paste it at different pages on a site(or even in the master mage) to give users ability to quick login. Is it possible or all pages when login accessable have to be enumerated like…
1
vote
2 answers

Mono, ASP.NET Membership provider and Guids

I want to build an ASP.NET site using Mono and a non SQL Server database like Postgres or MySQL. ASP.NET uses Guids in their membership providers for UserIds, and so forth, and Postgres/MySQL don't deal so well with Guids. What is the most common…
Fred Thomas
  • 934
  • 3
  • 10
  • 16
1
vote
2 answers

What are the reasons behind the schema of the ASP.NET Membership DB schema?

The following questions are about the DB set up with aspnet_regsql.exe (for .NET 4): Why is the username stored in aspnet_Users both in original form and in lowercase? Why not lowercase all the time? Why are Users and UsersMembership two distinct…
RedRed
  • 11
  • 1
1
vote
3 answers

how to change the password in membership with oldpassword checking

I developed a web application. It has a login form using ASP.NET membership. Now I need to add a form allowing to change the password. Before a new password can be set, the old password must be entered by the user. How can I check if the old…
Victor Athoti.
  • 829
  • 9
  • 22
  • 49
1
vote
1 answer

Custom Login control C# .net 4

I have everything set up to where I can call Membership.ValidateUser(user, pass) I want to use Roles. Which is setup. I know that I can do Roles.CreateRole() and such. The problem is. I need to be able to call User.IsInRole I don't know how to…
Blake Rogers
  • 637
  • 2
  • 7
  • 13
1
vote
2 answers

Sitecore Extranet login and PDF converter or Webclient

I'm having a problem using Winnovatives PDFConverter on pages that are protected by Extranet security (which is based on ASP.Net Membership). I've tried several different approaches, but the following I can get to work on my local machine, but not…
Holger
  • 2,243
  • 17
  • 19
1
vote
0 answers

Create a user in another Asp.Net Identity Database other than the current Asp.Net Identity

Is there a way to create an entry (a user) in another Asp.Net Identity Database from another Project other than creating a user in the current Asp.Net Identity? Basically, in my ASP.NET CORE (main) app I want to create some customer users that would…
1
vote
1 answer

Is it possible to use Asp.Net Membership in Asp.Net Core without password reset?

Recently my client approached me with a migration project. They are planning to migrate the project from ASP.NET MVC to ASP.NET Core MVC. I noticed that the legacy project uses ASP.NET Membership to authenticate users. Now after some analysis I…
fingers10
  • 6,675
  • 10
  • 49
  • 87
1
vote
0 answers

Sharing Forms Authentication between ASP.NET Web Site and Web Service

I have a web site and web service on the same server. The users log into the web site, which calls the web service to perform processing. The web service must ensure that only authenticated users access it. I thought that the easiest way to do…
1
vote
0 answers

Asp.net membership table access from mvc5 entity framework context

I have a new app lets call it mvc5Identity app. I login to that app using asp.net identity user. In this app I have another EF Context that connects me to a web forms app database. Let's call it webformsMembershipapp now my question is Can I…
Farrukh Subhani
  • 2,018
  • 1
  • 17
  • 25
1
vote
1 answer

Efficient way to create large number of Membership via Membership.CreateUser?

I just create Membership management program, this program can create user one by one and it can import data from text file as well. When I import data from text file, it can create around 30 user before timeout, after I debug it take nearly 1 sec…
Anonymous
  • 9,366
  • 22
  • 83
  • 133
1
vote
0 answers

ChangePasswordFailure .. ChangePassword control

Every time i try to change a password to any other password. It invalidates my passwords (the new password, and confirmed password).. and then the ChangePasswordFailureText appears. I dealt with that problem before in the config file, i simply…
Dmitry Makovetskiyd
  • 6,942
  • 32
  • 100
  • 160