Showing different email adresses in adminmode

Vote:
 

Hi there.

Got a snippy problem with a cms 5.2 site.
When using admin mode to search up a user I get the resultlist with Name, Provider, Email and so on.
FYI: Provider is SQLMemberShipProvider. There is no other provider used what so over.

OK, the snippy thing with my problem is:
When I wanna edit an user, I notice that some users have another email adress in editform.
Again: In resultlist, it shows one emailadresse for a user. In editform, it shows another one.
So, it's like the user have two or several email adresses.

The user have a page where he/she can edit the cridential (name, email and password), but how does EPiServer extrakt the info when showin the resultlist in adminmode and showing the edit user form in adminmode?


Any tip for where to begin the debug search?

#32973
Sep 28, 2009 8:32
Vote:
 

If they differ one field probably shows the membership email while the other one shows the profile email. These are the classes involved:

MembershipUser.Email: Email address stored in the membership provider.
EPiServerProfile.Email: Email stored in the profile
EPiServerProfile.EmailWithMembershipFallback: Email stored in the profile, with fallback to membership if empty.

#32974
Edited, Sep 28, 2009 8:48
Vote:
 
O'course u right, Magnus. Thanks
#33111
Oct 02, 2009 7:42