How can I expand the ASP.Net 4 membership user table

I want to expand the ASP.Net 4 membership user table as shown below.

enter image description here

Therefore, when a user logs in to the website, I can control additional columns ("WaitingApprovalRevenue", "ApprovedRevenue" and "WithdrawnRevenue").

Or should I play with the asp.net default user table? !!

+4
source share
1 answer

You can use the Profile provider, but there is a flaw in ASP.NET by default, where it basically stores all the values ​​in a single field. This makes it difficult when you have something outside of ASP.NET that should use these values ​​(for example, for reporting purposes).

If this is not a problem, use Profile as Tim has linked, otherwise I would have created a separate table with the user's GUID as a key and simply bound it this way.

0
source

All Articles