Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Storing custom fields about user accounts

Status
Not open for further replies.

mspain

IS-IT--Management
Mar 17, 2002
100
US
Hello all,

I'm new to ASP.NET and was hoping someone could help me out. On my site I am using a CreateUserWizard control to let people make an account. I wanted to add a custom field to this though that would let people choose what office they work in. I managed to add this to the control fine, but here is my dilemma.

Right now I am storing the response to this custom field in the user's profile. What I am trying to do is build a user management interface for admin's that will show a user's details (username, isApproved, last login, etc) along with their office and allow the admin to be able to change this. I would like to know if the approach I am trying (using the user's profile) is a good idea and how I could go about listing these account details so that an admin could change them.

Thank you very much for any insight.
 
You can use a gridview or details view to allow an admin to change the details

Jim
 
Thanks for the reply. Yes, I am using a gridview now to view all details like username, e-mail, creation date etc. I'm not sure how the profile fits into this. Are those details stored in a separate table (hence I'd have to write a query for a SQLDataSource and bind it to the gridview)?

As of right now I have an interface that shows all users whose names begin with a particular letter (picked by the user). I use the Membership.FindUsersByName to do this and then bind the results to the gridview.
 
All the info is stored in the membership tables. I belive all the tables start with "asp".

Jim
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top