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 6348743
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T21:28:48+00:00 2026-05-24T21:28:48+00:00

Here’s the layout : I’m developing an internal ASP.NET Web App (in VB.NET) with

  • 0

Here’s the layout:

  • I’m developing an internal ASP.NET Web App (in VB.NET) with an SQL Server Database.
  • Since my users are strictly internal, I’m using the “Windows” method for automatic authentication.
  • I have four user Roles, each with their own very unique, and dynamic, set of settings.
  • BONUS: Each user may have multiple Roles and hence multiple Profiles.

From my extensive research I have determined the following two methods for storing user profile settings (both of which prompting the question “HOW?”), though I’m not sure which is best (if any):

  • Store profiles and associated settings in the DB (Using what structure? From preliminary mapping, I’ve created at least four tables which is starting to get grossly unmanageable and unmaintainable)
  • Use the built-in ASP.NET Membership & Profile object? (I can’t seem to find a good tutorial on this. Does this method still require DB support? Again, using what table structure?) –I’m most interested in this possible solution

Example:

My most complex user group requires the ability to store a profile of all (user-selected) products associated with the user. Say I’m a product manager and I want my account to show me all the products that I’ve selected for which I am responsible. Obviously each member of my role would have different products and a different quantity of them, etc. Perhaps user page settings (e.g. search, sortation, order defaults, etc) could be stored in a generic table, with a reference to an auxillary settings table for the weird stuff which can be linked to through a special record which could act as a “foreign key” of sorts.

As Requested, one of my ideas for a table plan:

    Users (ID, Username, RoleID)
    Roles (ID, RoleName, Description) --Lookup Table
    Settings (ID, Name, Value)
    UserSettings (ID, UserID, SettingID) --Junction Table

Then the questions arise:

  1. When should I use a row vs a column?
  2. If I use a column per setting I can define datatypes, but column count could get out of control. On the other hand if I use a row per setting it makes much better sense, but I lose control over the data type for the setting.
  3. Should I omit the UserSettings table and just append a name=value pair record for each setting in the Settings table with a UserID foreign key instead?
  4. etc etc…

My Ideal Answer:

As you can see I have many questions and have found seemingly little help. I would LOVE it if someone could break it down for me in simple terms. Please tell me your professional recommendations and some super simple tips on how to implement it (i.e. which ASP.NET objects to use, as well as how said objects provide the mechanism for managing my complex profiles)

  • 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-24T21:28:49+00:00Added an answer on May 24, 2026 at 9:28 pm

    I think this almost certainly needs to be modeled in the database.

    The products associated with a user would not really be a role-based thing – so would have to be largely independent of the role even though you say only managers would have that relationship. Only users in a role would have that linkage, but that’s kind of a high-level restriction you might enforce at the application level or some higher level constraint – not with a foreign key – unless you had a linkage which depended upon user and role.

    Then a user acting as manager might have certain products, but acting as a salesman, different products. Then the role would be in the link table as well. Sometimes link table rows do have attributes about the linkage, not just the linkage themselves (usually things like effective dates and active/disabled flags).

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

Sidebar

Related Questions

Here is a simplification of my database: Table: Property Fields: ID, Address Table: Quote
Here is the scenario: I'm writing an app that will watch for any changes
Here's an interesting problem. On a recently installed Server 2008 64bit I opened IE
here is my configuration: http://domain.com (obviously fictitious name...) hosted on a server running Apache
Here an example of my checkbox list http://jsfiddle.net/YnM2f/ Let's say I check on G
here is the Fiddle http://jsfiddle.net/SunMercury/pmhFv/ How can I declare an object id and startValueX,
Here is the code: http://jsfiddle.net/GKBfL/ I am trying to get collection.prototype.add to return a
Here's a basic regex technique that I've never managed to remember. Let's say I'm
Here's a problem I ran into recently. I have attributes strings of the form
Here is the issue I am having: I have a large query that needs

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.