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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T22:43:38+00:00 2026-05-13T22:43:38+00:00

I am going to use forms authentication but I want to be able to

  • 0

I am going to use forms authentication but I want to be able to link the asp.net users to some tables in the db for example

If I have a class and students (as roles) I’ll have a class students table.

I’m planning to put in a Users table containing a simple int userid and ASP.NET username in there and put userid wherever I want to link the users.

Does that sound good? any other options of modeling this? it does sound a bit convoluted?

  • 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-13T22:43:39+00:00Added an answer on May 13, 2026 at 10:43 pm

    Basically, the ASP.NET membership service creates a GUID per User, so if you need to have a foreign key of the user in a table, then this is what you should use. As such, you will not need the mapping table of a username to a userid as you already have a unique identifier per user (the aforementioned GUID)

    If your looking to extend the amount of information one can store against a user, then this link has all the details regarding that.

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

Sidebar

Related Questions

I have decided to use ASP.NET MVC to develop multi page (registration) forms in
I have an application thats going to use Active Directory for Authentication. This will
I am having some trouble when I use ASP .Net 4's URL Routing feature
So I have ASP.NET running on the server in IIS7. I think I'm going
I have a webapp that uses Forms Authentication using ActiveDirectoryMembershipProvider. That works fine... users
I'm going to use PHP in my example, but my question applies to any
I was just going to use the FileUpload.FileBytes property but looking into the respective
I decided not to use an orm and going to use straight ADO.NET for
I use this method to close forms according to their Id, but if I
We have an ASP.Net app, that behaves strangely under IIS6. The app itself is

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.