title: How to get user profile details in azure ad b2c
body: <p>I'm using Azure AD B2C authentication for my MVC web application. I have developed the sign-in part of the project. Now I want to get the user's details when a user logs into the web app. I have seen some of the articles which explain how to edit user details. But I couldn't find anything related to get user profile data. Please Help.</p>
  
  <p>This is my SignIn action.</p>
  
  <pre><code>public ActionResult SignIn()
  {
      if (!Request.IsAuthenticated)
      {
          var authenticationManager = HttpContext.GetOwinContext().Authentication;
          authenticationManager.Challenge(new AuthenticationProperties() { RedirectUri = "/" }, Startup.SignInPolicyId); 
          return Content("");
      }
      else
      {
          return Redirect("~/Home/Login");
      } 
  }
  </code></pre>