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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T04:16:23+00:00 2026-06-04T04:16:23+00:00

i am working on the user registrations.I used the basic registration used in the

  • 0

i am working on the user registrations.I used the basic registration used in the project by default.The problem is that user after registration can access the protected parts of the site. Is it something like build in function for approval of the new registered users?

I find this article : https://web.archive.org/web/20211020153319/https://www.4guysfromrolla.com/articles/062508-1.aspx

“The good news is that configuring the CreateUserWizard control so that new accounts are inactive is a cinch – simply set the control’s DisableCreatedUser property to True”
[As i think, the registered user will be unapproved, until admin approve it in Web Site Administration Tool, correct?]

But i can’t find the DisableCreatedUser attribute.

  • 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-06-04T04:16:24+00:00Added an answer on June 4, 2026 at 4:16 am

    I suggest you to use [Authorize(Roles="Role1,Role2")] http://msdn.microsoft.com/en-us/library/system.web.mvc.authorizeattribute.aspx to restrict users with specific roles to some actions or a controller. Personally i don’t use strings but an Enum passed to Roles=”” and you can do it making your own MyAuthorizeAttribute deriving from AuthorizeAttribute To approve the user activate him somehow, send him an activation email, approve him manually setting the IsActive in database to true or something. Also don’t use default Membership database, make your own and derive your membership and role classes from MembershipProvider http://msdn.microsoft.com/en-us/library/system.web.security.membershipprovider.aspx and RoleProvider http://msdn.microsoft.com/en-us/library/system.web.security.roleprovider.aspx .

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

Sidebar

Related Questions

I'm currently working on the user registration in my project. After the registration is
I'm working on a project wherein a user can take a snapshot of themselves
When working with a collection of forms that the user must step through, is
I'm working on a custom user control that essentially displays a name value pair
I'm working on a project which uses user authentication. I'm facing a issue with
I'm now working on Sample login application in which user can login with their
I'm working on an MVC webapp and am done with the registration module that
I have a working PHP registration form that goes through $_POST[] requests to check
For the project I'm working on, we have a desktop program that contacts an
I needed to create a custom select list for the user registration page that

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.