Ejemplo n.º 1
0
        public ActionResult Index()
        {
            try
            {
                var currentUserEmail = Relativity.CustomPages.ConnectionHelper.Helper().GetAuthenticationManager().UserInfo.EmailAddress;
                var imageUrl         = ImageEndpoint.GetShibePicture();

                ViewBag.Email = currentUserEmail;
                ViewBag.Image = imageUrl;
            }
            catch (Exception Ex)
            {
                Console.WriteLine(Ex.Message);
            }

            return(View());
        }