public static DataTable GetMyMeetingDefence(AdobeConnectDTO adobeConnectDTO, string typeCollege = "")
        {
            DataTable     dt            = new DataTable();
            XmlDocument   doc           = new XmlDocument();
            AdobeBusiness adobeBusiness = new AdobeBusiness();

            adobeBusiness.LoginAsUser(adobeConnectDTO);
            doc = adobeBusiness.GetMyMeeting(adobeConnectDTO);
            dt.Columns.Add("MeetingId");
            dt.Columns.Add("Name");
            dt.Columns.Add("DateStart");
            dt.Columns.Add("DateEnd");
            dt.Columns.Add("MeetingUrl");
            DataRow dr;

            if (doc.OuterXml.ToString().Contains("sco"))
            {
                XmlNodeList nodeList = doc.SelectNodes("//results/my-meetings/meeting");
                foreach (XmlNode no in nodeList)
                {
                    if (typeCollege == "" || no["Name"].ToString().Contains(typeCollege))
                    {
                        dr = dt.NewRow();
                        dr["MeetingId"]  = no.Attributes["sco-id"].Value;
                        dr["Name"]       = no["name"].InnerText.ToString();
                        dr["DateStart"]  = no["date-begin"].InnerText;
                        dr["DateEnd"]    = no["date-end"].InnerText;
                        dr["MeetingUrl"] = no["url-path"].InnerText;
                        dt.Rows.Add(dr);
                    }
                }
            }
            return(dt);
        }
        public bool CheckAcceptRequestDefence(AdobeConnectDTO adobeConnectDTO)
        {
            const int     standardCount = 3;
            AdobeBusiness adobeBuisnes  = new AdobeBusiness();

            adobeConnectDTO             = adobeBuisnes.LoginAsAdmin(adobeConnectDTO);
            adobeConnectDTO.PrincipalID = adobeBuisnes.GetPrincipalId(adobeConnectDTO);
            adobeBuisnes.Logout(adobeConnectDTO);
            adobeConnectDTO = adobeBuisnes.LoginAsUser(adobeConnectDTO);
            int count = CountWatch(adobeConnectDTO);

            adobeBuisnes.Logout(adobeConnectDTO);

            if (count >= standardCount)
            {
                return(true);
            }
            else
            {
                return(false);
            }
        }