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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 10, 20262026-06-10T19:56:38+00:00 2026-06-10T19:56:38+00:00

I have a website I’m developing and have roles setup with one group admin

  • 0

I have a website I’m developing and have roles setup with one group “admin” that I want to be able to select a user and display information about that user…name, password, security question and so on. What would be the easiest way to get this done? Also, I have modified the default login steps to include a few additional requirements, such as first and last name, company, etc. I would like the “admin” group to be able to view all this information quickly and easily so if a customer from another company calls us saying they fired that person, we can remove the user based on their actual name, not username.

EDIT
Can I do something like:

MembershipUser user = System.Web.Security.Membership.GetUser(RegisterUser.UserName);
user.Comment = fnametxt.Text.ToString() + " " + lnametxt.Text.ToString() + " " + companytxt.Text.ToString();
System.Web.Security.Membership.UpdateUser(user);

to store the additional info then recall the user.Comment from the sql database when needed?

  • 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-10T19:56:40+00:00Added an answer on June 10, 2026 at 7:56 pm

    It would appear that what you are looking for is a Profile provider. This can be used to store addition information about users such as first and last names and other miscellanea.

    in Web.config

    <profile>
          <providers>
            <clear/>
            <add name="AspNetSqlProfileProvider"
                 type="System.Web.Profile.SqlProfileProvider"
                 connectionStringName="yourConnectionString"<!--Same as membership provider-->
                 applicationName="/"/>
          </providers>
          <properties>
            <add name="FirstName" type="string"/>
            <add name="LastName" type="string"/>
            <add name="Company" type="string"/>
          </properties>
        </profile>
    

    Add/edit profile properties:

    var username = User.Identity.Name;
    ProfileBase profile = ProfileBase.Create(username);
    profile["FirstName"] = "John";
    profile["LastName"] = "Smith";
    profile["Company"] = "WalMart";
    profile.Save();
    

    Read profile properties:

    var username = User.Identity.Name;
    var profile = ProfileBase.Create(username);
    var firstName = profile["FirstName"] as string;
    var lastName = profile["LastName"] as string;
    var company = profile["Company"] as string;
    

    I think this would be the way to go and a bit cleaner and easier to maintain that using comments.

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

Sidebar

Related Questions

I have website that will both post to a user's Facebook wall, and allow
I have a website that plays mp3s in a flash player. If a user
I have website templates and want to validate its HTML. I've heard that there
Lets say you have website that keeps balance for each user. You give each
I'm still in need of help. I have website settings that I want to
I have website that shows user submitted content in 30+ languages in front page,I
I have website, usually all looks fine but sometimes one div is on the
i have website of application which sells applications online.on the home page i want
So basically I have website that has names of cities that can be checked
I'm using jQuery. I have website feature that does an ajax search and returns

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.