protected void Page_Load(object sender, EventArgs e) { Authenticator.ValidateSSO(); if (!Authenticator.CheckRole(UserRole.Administrator)) { Redirector.RedirectToDefault(); } }
protected void Page_Load(object sender, EventArgs e) { if (!Authenticator.CheckLoggedIn()) { Authenticator.ValidateSSO(); } if (!Authenticator.CheckLoggedIn()) { Redirector.RedirectToDefault(); } }