Questions tagged [custom-membershipprovider]
135 questions
1
vote
1 answer
Implementing Custom Membership Provider in asp.net 2.0
Related
Implementing Custom Membership Provider Membership User Issues
Extending a Custom Membership Provider
Question
If i have different SQL table schema for Roles, Profiles should i create Custom Providers for each of these "Role","Membership"…

Deeptechtons
- 10,945
- 27
- 96
- 178
1
vote
4 answers
ASP.NET MVC3 and EF4.1 - How to customize Membership after run aspnet_regsql?
I need to implement in my social network application a customized membership, and add information to the regular aspnet tables in an existing database, as Country, Province, City, Birthdate, etc, etc, etc.
I already ran aspnet_regsql, based on this…

Rubia Gardini
- 815
- 5
- 16
- 30
1
vote
1 answer
Custom Membership - Error in Web Site Administration Tool (Type is not resolved for member'')
I had to customize the class MembershipProvider for the user validation is done by email.
But when you open the Asp.net Web Site Administration Tool, the "Security" tab the following error:
There is a problem with your selected data store. This can…

ridermansb
- 10,779
- 24
- 115
- 226
1
vote
2 answers
ASP.NET Membership Send username across different tiers
I have 3-tiers (UI, BLL, DAL), those BLL and DAL reside on external WS, obviously my membership user works on the UI tier.
So... I was trying to store in my Bussines tables the username for the differents tasks (like a CRUD)
Insert registry…

HolloW
- 720
- 11
- 21
1
vote
2 answers
Elegant Asp.Net MVC 3 custom membership wrapper class with extended (custom) methods and properties
I am attempting to write a custom membership class. It seems to work ok inhering the Membership class and providing functions for all the included required items (validate user, create user, delete user, isapproved, etc).
However, where I run into…

Kevin Scheidt
- 95
- 3
- 10
1
vote
0 answers
MVC5 get profile from custom membership
I'm trying to use the ´Profile´ variable using mvc5 and custom profile
web.config

Benjamin RD
- 11,516
- 14
- 87
- 157
1
vote
0 answers
Add bearer-token authentication with custom membership provider to existing Web API project
I have an existing Web API project that currently has no authentication built in.
I want to add bearer-token based authentication, but I want to use a custom membership provider that I have used for other projects, although this has been with basic…

CompanyDroneFromSector7G
- 4,291
- 13
- 54
- 97
1
vote
1 answer
ASP.NET MVC2 Custom Membership Provider w/ Data Provider Interface Issue
I am creating a custom membership provider class library that defines a data provider interface for my web projects to implement.
I am having an issue creating an instance of the class that implements the interface.
I added a line in my web.config…

Carson
- 516
- 3
- 10
1
vote
1 answer
Can you use a custom membership provider with userNamePasswordValidationMode?
Every example I see uses the default Membership Provider with the userNamePasswordValidationMode, but can I specify MembershipProvider for userNamePasswordValidationMode in the ServiceCredentials for a WCF REST Service if I have a Custom Membership…

Xaisoft
- 45,655
- 87
- 279
- 432
1
vote
2 answers
Why is this custom identity user context not persisting in MVC?
I created a CustomPrincipal, CustomIdentity, CustomMembershipProvider, etc, and are all populated when a user logs in:
public class CustomIdentity : IIdentity
{
private IIdentity _identity;
// in the future maybe use a…

ElHaix
- 12,846
- 27
- 115
- 203
1
vote
1 answer
Can I use the Membership provider in ASP.NET WebForms with my own User database? If so, how?
I am looking for ways to implement login functionality in my ASP.NET WebForms application.
I know that I can use the default Membership provider which creates its own tables. I want to know if I can use my own schema for the database. I don't want…

Ashhar Hasan
- 803
- 14
- 34
1
vote
1 answer
How is ASP.NET User filled in after Authentication?
I have an ASP.NET 4.0 Web Forms application and I want to handle authentication. I have a default page that ASP.NET gave me that contains a Control. I have created a MembershipProvider and filled in the ValidateUser() method…

skaz
- 21,962
- 20
- 69
- 98
1
vote
1 answer
Membership.ValidateUser access SQLMembershipProvider instead my Custom membership Provider
I created a custom membership provider (empty yet, only the ValidateUser method has code).
public override bool ValidateUser(string username, string password)
{
return true;
}
lol.
And my web.config has this tag:

Leandro De Mello Fagundes
- 500
- 1
- 8
- 34
1
vote
1 answer
Unit Testing account MVC controller Error - real MembershipService is still being used
I have the following account controller
public class AccountController : Controller
{
public IMembershipService MembershipService { get; set; }
protected override void Initialize(RequestContext requestContext)
{
if…

Connor Gervin
- 935
- 5
- 16
1
vote
2 answers
ASP.NET Membership with two providers cant use GetAllUsers method
I'm using two membership providers. When I declared a following statement
Dim allUsers As MembershipUserCollection = Membership.Providers("MembershipRoleManager").GetAllUsers
Then, it gave me this error message.
Argument not specified for…

Tola
- 2,401
- 10
- 36
- 60