public CMS() { if (!this.User.Identity.IsAuthenticated) { throw new Exception("Not Authenticated!"); } if (!(SecurityData.IsAdmin || SecurityData.IsSiteEditor)) { throw new Exception("Not Authorizeed!"); } }