HttpContext.Current.User = principal;. It it called on the Global.asax's AuthenticateRequest so everything is all setup before the Page's events ...
確定! 回上一頁