Page 1 of 1
Custom fields for users
Posted: Wed May 14, 2008 8:23 am
by Katie
Request: custom fields that can be used for a user's profile.
Use: Merchant could store customer information for a user that only the merchant would update on the user's/customer's profile. ..
ie.. an account number, special note, cross-reference to another user, etc.
Re: Custom fields for users
Posted: Wed May 14, 2008 9:59 am
by Logan Rhodehamel
There is a User.Settings property, which connects to a UserSettingsCollection class. The data here is persisted to the database and associated with the user. It would be the natural place for this kind of data.
We (or someone) would just have to build some admin UI to access and work with this field.
Re: Custom fields for users
Posted: Sat May 24, 2008 8:35 am
by m_plugables
This is a sample code how to put the custom field support for user on the Merchant side. I followed the guide line provided by the logan. The attached zipped file contains the Admin/People/Users/EditUser.aspx file . You can use it and extend the code for more fields. Currently i just wrote the code for only one custom field named special note.