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

  • SEARCH
  • Home
  • 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 6538593
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:45:14+00:00 2026-05-25T10:45:14+00:00

I am learning .net mvc3 and I am very confused about how user authentication

  • 0

I am learning .net mvc3 and I am very confused about how user authentication works and was hoping y’all could get me pointed in the correct direction. My application needs to have users and groups, each of with needs to store data beyond what is needed for just authentication. For example, my user object needs to be able to store phone, fax, and email data and whether they are the project manager or not. My group needs to store some other data about that group such as website.

I am using Entity for my other models.

Should I create models for my user and group and somehow link them with the membership authentication? Or is the type of thing built in somehow? Or do I need a custom membership provider?

Sorry if I seem ignorant. I have only been doing .net for a week.

I come from a Django background if that helps in the explanation.

Thanks!!

  • 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-25T10:45:14+00:00Added an answer on May 25, 2026 at 10:45 am

    You can certainly use forms authentication and utilize the default aspnet_Users and aspnet_Roles tables to handle things like login accounts and the various roles that you might have for the site, and then assign the roles to the users. That’ll allow you to [Authorize(Roles = "Administrators")] your controller actions to control who can do what. You could set up a “Project Manager” role at this level and assign that, if it makes sense to control the DB based on that designation. If not, you could put that information in your own table.

    In my case I needed to associate data with users and so I created an application-specific Users table in my own database and then linked the aspnetdb Users table row for a user to the application’s Users table by adding a Guid column to my own Users table and populated that with the UserId from the aspnet_Users table data. That way when the a user logged into the system, I could retrieve the appropriate data (e.g., “My recipes”). There may be different/better ways to solve this problem, but that’s what I ended up doing for my own situation. In my application’s db, I just created my own tables to handle things like your Users and Groups since there were quite a few fields of interest. I didn’t want to alter the tables in the aspnetdb at all. I’ll be interested, however, to hear what other folks think.

    You can see a question I posted about this subject here.

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

Sidebar

Related Questions

I'm learning ASP.NET MVC3 and I'm now examining the user handling. My first problem
I've just started learning ASP.net and I can't seem to get the GridView to
I guess this is very basic but since I'm learning .NET by myself, I
I'm pretty familiar with C++, so I considered learning .NET and all its derivatives
I am learning ASP.NET MVC and many concepts of ASP.NET like authentication, authorization, session
I'm interested in learning about the MVC3 framework. My background is MSc in Computer
I recently started learning about ASP.Net MVC and its various features MVC_3_MUSIC_STORE + CODE
I started learning ASP.NET MVC3. So, while reading tutorials online and in books, I
I'm learning ASP.NET MVC3 and doing an application with CMS capabilities - but have
A novice to asp.net and mvc3. I am learning by setting myself challenges/developing an

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.