Hi All, I create a custom ProfileProfider (the most of the code is taken from here: http://weblogs.asp.net/jgalloway/archive/2008/01/19/writing-a-custom-asp-net-profile-class.aspx). I override the ProfileBase Class and the ProfileProvider Class. For Membership and Roles I use the build-in classes.
I have some problem with:
- get a single user instance (both Membership and Profile: so UserName and Password but even all the date I saved in the profile);
- print a list of all the users (Membership + Profile);
- associate a Membership to a Profile;
I know I can get a list with that code:
but how can I associate to a single UserID other properties stored in the profile?
I can get (?) all the profiles doing that:
but then I don't know how to print the result in my View.
Any help is welcome!
View Complete Post