Esempio n. 1
0
        public static bool Validate_UserGroup(Page myPage, UserGroup myUserGroup)
        {
            MySQL_DataConn myDP = new MySQL_DataConn(ConfigurationManager.ConnectionStrings["e2CMS"].ConnectionString);

            UserMgr myUserMgr = new UserMgr();

            Login_Users myUsers = myUserMgr.Get_Login_Users(myPage);

            return(myDP.Chk_UserInGroup(myUsers.UserID, StringEnum.GetStringValue(myUserGroup)));
        }