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

The Archive Base Latest Questions

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

I want to create a web-app (a website) used in house by staff only.

  • 0

I want to create a web-app (a website) used in house by staff only.

I want to use active directory membersip provider to authenticate users.
The thing that is confusing me is how do I manage profiles and roles, and also link users with a FK to other tables.

So far Im thinking of doing something like this but not sure if it is even possible?

  • use Windows authentication (set in web.config)
  • use activedirectorymembership provider + sqlmembership provider?
  • Register users the first time they hit the site (get their email, name, etc from AD and create user in code and add to sql db)
  • Everytime they re-hit the site, check the db if the user exists, if they do, log them in, if not create a new user in sqlmembership.
  • for all other tables use userid from Aspnet_User as an FK in other tables

Will this even work? or is there a better obvious way of doing this?

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-23T21:21:50+00:00Added an answer on May 23, 2026 at 9:21 pm

    When using the ActiveDirectory Membership provider, you’re authenticating your users against your Active Directory – there’s no separate membership database involved (the user accounts are in Active Directory).

    The role provider is using the Active Directory/Windows security groups and a user’s membership in those groups – again: no separate role database / table involved.

    If you want to use the Active Directory provider, then each new user coming to your site would need to be added to your Active Directory as a regular user account.

    You cannot use both membership providers at the same time – either you’re going against your AD and use the user accounts and groups defined there – (exclusive) OR you’re rolling your own, and store user accounts and roles and user’s membership in roles in a separate SQL Server database.

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

Sidebar

Related Questions

I want to create a web app that will use wicket, hibernate and spring
I want to create a web app that lets me create, store and display
I want to create a Web app which would allow the user to upload
I want to create my own PHP web app where people can signin with
I am developing a MVC 3 Web app and I want to create something
In my JSF web-app, I want to create a URL for the user to
I want to create an iPhone app which makes calls to a web service.
I'm looking to create a mobile version of our website/web app. What's a good
I want to create a mobile app for an exisiting website that runs on
This is my website: http://www.stustu.co.uk .. I want to create an app that can

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.