public ActionResult GetAllRoles()
        {
            try
            {
                ADUVerify.Models.AdRoleModel AdPobj = new ADUVerify.Models.AdRoleModel();

                ViewBag.Message = AdPobj.GetAllRoles();
            }
            catch { ViewBag.Message = "not found"; }



            return(View());
        }
        public ActionResult getADPermissionsByUser(string Uname)
        {
            if (Uname == null)
            {
                //ViewBag.Message = @"Plz pass paramerters to this url like : [domainurl]/getADPermissionsByUser?uname=xxxx";
                return(View());
            }

            try
            {
                ADUVerify.Models.AdRoleModel AdPobj = new ADUVerify.Models.AdRoleModel();

                ViewBag.Message = AdPobj.GetRolesForUser(Uname);
            }
            catch { ViewBag.Message = "user not found"; }



            return(View());
        }