Beispiel #1
0
        /// <summary>
        /// Get details of current web master access settings- By check if master user is exists
        /// </summary>
        /// <param name="viewPk"></param>
        /// <returns></returns>
        public JsonResult GetWebMasterAccessDetails(string viewPk)
        {
            string          instance        = Request.QueryString["instance"];
            ConfigAccess    configAccess    = new ConfigAccess();
            string          viewName        = configAccess.GetViewNameByPK(viewPk, Map.GetConfigDatabase().ConnectionString);
            WebMasterAccess webMasterAccess = WixPlugInHelper.GetWebMasterAccessDetails(Map, instance, viewName);

            return(Json(webMasterAccess));
        }