Exemple #1
0
        public HttpResponseMessage GetLoggedUser()
        {
            object retVal = UserDbManager.GetLoggedUser(((ClaimsPrincipal)HttpContext.Current.User).FindFirst("username").Value);

            return(Request.CreateResponse(HttpStatusCode.OK, retVal));
        }