Link to home
Start Free TrialLog in
Avatar of Wayne Atherton
Wayne Atherton

asked on

Get EMail from AspNetUser

I have a asp.net Web application (web forms), for which I am tryig to retreieve the currently logged in users email address from the database.

I've added the field to my IdentityModel as such:

  public class ApplicationUser : IdentityUser
    {
        public string Email { get; set; }

        public ApplicationUser()
        {
            
        }
    }

Open in new window


But, whenever I try and obtain this informaiton, using the ApplicationUser, I'm not seeing it

User generated image
What am I missing, in order to see this value?
ASKER CERTIFIED SOLUTION
Avatar of Lokesh B R
Lokesh B R
Flag of India image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Wayne Atherton
Wayne Atherton

ASKER

now i just feel silly :-) THanks @Lokesh B R