public static void RequireUser(Guid userId) { VerifyProvider(); if (!IsUserLoggedOn(userId)) { Response.SetStatus(HttpStatusCode.Unauthorized); } }