Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 298347
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 12, 20262026-05-12T06:43:24+00:00 2026-05-12T06:43:24+00:00

I am wondering how do I extend the membership stuff in asp.net? When a

  • 0

I am wondering how do I extend the membership stuff in asp.net?

When a user logs in I want to check the UserName and Password. Of course the standard asp.net membership does this(this it is ValidateUser()).

I also want to check another field called “institution”. If a user types something in this box I want to verify if the “institution”, “userName” and “password” match what is in the database.

If a user leaves the “institution” blank then I just want to use it default ValidateUser() method that is provided in asp.net and check only “userName” and “password”.

So can I overload the ValdiateUser() method? Or will I have to write my own one to handle this new case?

Where would I store this “institution” field in the database? I heard something about people recommending the “Profile” table but I am not sure.

Also how can I change the membership to treat these as 3 different users

Institution: ABC
UserName: A09410515
Password: 1234567

Institution: GHA
UserName: A09410515
Password: 1234567

UserName: A09410515
Password: 1234567

So as my database should be concerned these should be 3 unique users. Of course in the case that my database already would have the same information stored in it.

For example.

Institution: ABC
UserName: A09410515
Password: 1234567

and someone tries to sign up with the exact same information for “UserName” and “Institution” then it would spit back an error about being duplicate names.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-12T06:43:24+00:00Added an answer on May 12, 2026 at 6:43 am

    Yes, you can create a custom membership provider. Your provider will implement MembershipProvider giving you full control over creating an interface between the membership system and extended database schema. Writing A Custom Membership Provider for your ASP.NET 2.0 Web Site is a detailed example.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I was wondering whether or not I can extend the Enum type in C#
I was wondering if anyone knew whether taskmgr.exe in Windows Vista/7 was extend-able via
I read all posts available referred to the possibility to extend membership and include
I am wondering if there are any languages that extend PHP into something ahem
I was wondering how to unit test abstract classes, and classes that extend abstract
Hey, I was wondering if setting an object equal to $.extend(), but setting the
To extend the User object with custom fields, the Django docs recommend using UserProfiles
I'm wondering if there's any relatively easy way to extend NHibernate to support F#'s
I'm wondering how to go about using Authlogic to auto register a user who
I'm wondering if you can extend already existing enumerations in Scala. For example: object

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.