asp.net-membership

Customizing ASP.NET Membership Tables

Can I adjust the ASP.NET Membership Tables to add some columns of my own? For example, I'd like to extend the Roles table by adding RoleCode containing the abbreviated name for the user role. It's just an example but is it possible? I know I'd have to adjust a few SPs and a bit of code in the app itself, but again, is it possible? ...

Can AD Membership Provider be configured to use Kerberos

I have a web app that uses the Active Directory Membership Provider and when a user changes their password, they can login with either the old password or the new password for a while. This KB article (http://support.microsoft.com/kb/906305/en-us) leads me to believe that this behavior is caused by NTLM authentication. Is there ...

aspnet membeship logon page and https redirect

Hello, I have a gridview control that has on onclick event bound to every cell. Once a user clicks on a cell it directs them to a booking confirmation page and passes 3 url variables. This booking page is behind a aspnet membership and thus if the user is not logged in they are served the login page. The login page has a redirect to htt...

Factory pattern vs ease-of-use?

Background, I am extending the ASP.NET Membership with custom classes and extra tables. The ASP.NET MembershipUser has a protected constructor and a public method to read the data from the database. I have extended the database structure with custom tables and associated classes. Instead of using a static method to create a new member...

ASP.NET MVC and ASP.NET membership template provider

In a standard ASP.NET MVC template application that is created by default in Visual Studio when starting a new ASP.NET MVC application there is already a built-in membership / authentication / authorization system. Using web search one can find lots of info about how to work with a built-in ASP.NET membership system, but very often this...

Membership.GetUser() within TransactionScope throws TransactionPromotionException

The following code throws a TransactionAbortedException with message "The transaction has aborted" and an inner TransactionPromotionException with message "Failure while attempting to promote transaction": using ( TransactionScope transactionScope = new TransactionScope() ) { try { using ( MyDataConte...

Using Email Address to login - Membership API

By default, Membership API uses a separate username field to login users. I would like to use the email address for users to login. Is this a good idea? How would I modify the Login, Register a user, Forgot password control to support this? ...

Custom Providers & Design Patterns

Hi. I am using ASP.NET 2.0 and its various providers. I have overridden most of the methods I need and have the following custom providers: ProjectMembershipProvider ProjectProfileProvider ProjectRoleProvider In the design of my project, my intention was to wrap the custom providers in a facade - style design - mixing and matching...

MembershipProvider, IPrincipal, IIdentity?

Hello guys; I have a conceptual question... I am making an Intranet application (Web platform) for a company. I have a SQL Server DB with these tables: Users (userID, userName, userPass, roleID) Roles (roleID, roleName) Pages (pageID, pageURL) RolesXPages(pageID, roleID) How is the best way to create a structure to store all this inf...

How do I setup ASP.NET MVC 2 with MySQL?

Is it possible to setup ASP.NET MVC 2 to work with a MySQL database? ...

ASP.NET Membership

I'd like to use the ASP.NET membership provider in the following (low-security) scenario... My company will create and administer user accounts on behalf of our clients. These accounts will likely be shared amongst several people in the client company (is that a problem?). There will be 2 types of users (2 roles): client and administra...

Can we change the table or column name of aspnet membership?

Can we change the table or column name of aspnet membership. If yes? then what will be the effects ? ...

What are the valid characters for a user name when using the SQL provider for ASP.NET membership?

[Title says it all] ...

How to assign .net membership roles to individual database records

I'm developing a system where we want to restrict the availability of information displayed to users based on their roles. e.g. I have a tabled called EventType (ID, EventTypeDescription) which contains the following records: 1, 'Basic Event' 2, 'Intermediate Event' 3, 'Admin Event' What I need to achieve is to filter the records ret...

ASP.NET Membership controls (can I see inside?)

Hello, I am looking at ASP.NET membership controls (2008) and have been dropping them onto web pages to see how it all works. In some ASP.NET starter kit web site examples that I downloaded, I notice that between the asp:control tags I can see all the tags of the constituent parts like the textboxes, labels and buttons etc. However with...

Using ASP.NET SQL Membership Provider, how do I store my own per-user data?

I'm using the ASP.NET SQL Membership Provider. So, there's an aspnet_Users table that has details of each of my users. (Actually, the aspnet_Membership table seems to contain most of the actual data). I now want to store some per-user information in my database, so I thought I'd just create a new table with a UserId (GUID) column and an...

Why am I getting a TypeLoadException when defining a custom profile?

I'm writing a .NET command-line application that will migrate users from an existing database into aspnetdb. To simplify the user-specific settings, I'm using the profile class that Joel Spolsky wrote about here. It works great in the ASP.NET MVC website, but for some reason it's throwing a TypeLoadException when being used from this n...

How to create a asp.net membership provider hashed password manually?

I'm using a website as a frontend and all users are authenticated with the standard ASP.NET Membership-Provider. Passwords are saved "hashed" within a SQL-Database. Now I want to write a desktop-client with administrative functions. Among other things there should be a method to reset a users password. I can access the database with the...

Custom parameter need in createuser member in Custom Membership Provider in asp.net

I want to customize the parameter in createuser() method Membership Provider, Actually, i have my own data store for users with different data including username,password. but, the createuser() is not suite with my data Any one can help me! ...

Open Source Alternative to ASP.NET membership

I'm currently supporting a Python web app with increasingly complicated user/role/permission management requirements. Currently, we are rolling our own user, groups, permissions, etc. code and supporting database. I'd like to find something like ASP.NET membership that can help manage user authentication and authorization, rather than ...