public static List <string> GetDelegatedEmailAddressesFromB2BUseLicense(string useLicense)
        {
            XmlDocument firstNodeXdoc = RmsClientManagerUtils.GetFirstNodeXdoc(useLicense);

            if (firstNodeXdoc == null)
            {
                return(null);
            }
            XmlNode       xmlNode = firstNodeXdoc.SelectSingleNode("XrML/BODY[@type=\"LICENSE\"]/ISSUEDPRINCIPALS/PRINCIPAL/OBJECT[@type=\"Group-Identity\"]/ADDRESS[@type=\"DelegatedEmailAddress\"]/text()");
            List <string> list    = new List <string>();

            if (RmsClientManagerUtils.ValidateDelegatedEmailAddressOrAliasNode(xmlNode))
            {
                list.Add(xmlNode.Value);
            }
            XmlNodeList xmlNodeList = firstNodeXdoc.SelectNodes("XrML/BODY[@type=\"LICENSE\"]/ISSUEDPRINCIPALS/PRINCIPAL/OBJECT[@type=\"Group-Identity\"]/ADDRESS[@type=\"email_alias\"]/text()");

            foreach (object obj in xmlNodeList)
            {
                XmlNode xmlNode2 = (XmlNode)obj;
                if (RmsClientManagerUtils.ValidateDelegatedEmailAddressOrAliasNode(xmlNode2))
                {
                    list.Add(xmlNode2.Value);
                }
            }
            return(list);
        }