public HttpResponseMessage AnonymousPing() { PingResult ping = new PingResult(); ping.Success = true; ping.UserName = User.Identity.Name; ping.Message = "Bulk User Delete Anonymous Ping Return Result [" + User.Identity.Name + "]"; ping.WasAuthorised = User.Identity.IsAuthenticated; return Request.CreateResponse(HttpStatusCode.OK, ping); }
public HttpResponseMessage AnonymousPing() { PingResult ping = new PingResult(); ping.Success = true; ping.UserName = User.Identity.Name; ping.Message = "Bulk User Delete Anonymous Ping Return Result [" + User.Identity.Name + "]"; ping.WasAuthorised = User.Identity.IsAuthenticated; return(Request.CreateResponse(HttpStatusCode.OK, ping)); }
public HttpResponseMessage AdministratorPing() { PingResult ping = new PingResult(); ping.Success = true; ping.Message = "Bulk User Delete Authenticated Ping Return Result [" + User.Identity.Name + "]"; ping.StackTrace = null; ping.Error = null; ping.UserName = User.Identity.Name; ping.WasAuthorised = User.Identity.IsAuthenticated; return Request.CreateResponse(HttpStatusCode.OK, ping); }
public HttpResponseMessage AdministratorPing() { PingResult ping = new PingResult(); ping.Success = true; ping.Message = "Bulk User Delete Authenticated Ping Return Result [" + User.Identity.Name + "]"; ping.StackTrace = null; ping.Error = null; ping.UserName = User.Identity.Name; ping.WasAuthorised = User.Identity.IsAuthenticated; return(Request.CreateResponse(HttpStatusCode.OK, ping)); }