public String GetReportageAuth(ReportageNavPermission navPermission, bool isAdmin) { ServiceRequest request = new ServiceRequest(configuration); request.Parameters.Add("navpermission", navPermission.ToString().ToLower()); request.Parameters.Add("admin", isAdmin.ToString().ToLower()); XmlDocument response = request.CallService("rustici.reporting.getReportageAuth"); XmlNode authNode = response.GetElementsByTagName("auth")[0]; return authNode.InnerText; }
public String GetReportageAuth(ReportageNavPermission navPermission, bool isAdmin) { ServiceRequest request = new ServiceRequest(configuration); request.Parameters.Add("navpermission", navPermission.ToString().ToLower()); request.Parameters.Add("admin", isAdmin.ToString().ToLower()); XmlDocument response = request.CallService("rustici.reporting.getReportageAuth"); XmlNode authNode = response.GetElementsByTagName("auth")[0]; return(authNode.InnerText); }