public ActionResult AccountProfile() { var crmUser = UserManager.FindById(User.Identity.GetUserId()); Profile definition = XrmProfile.GetProfile("ClickLearn Requirements"); UserProfile profile = XrmProfile.GetUserProfile(crmUser.ContactId, "ClickLearn Requirements"); dynamic model = new XrmProfileModel(profile); return(View(model)); }