public void ListPrincipals() { var pList = m_acConn.GetPrincipalList(string.Empty, string.Empty); DataTable PrincipalList = GetDataTable(pList.ToArray()); if (PrincipalList != null) { DumpResultsCSV(PrincipalList, "PrincipalList", null); } else { Console.WriteLine("PrincipalList: no data available for given group-id."); } }
/// <summary> /// Provides a complete list of users and groups, including primary groups. /// </summary> /// <param name="adobeConnectXmlApi">The adobe connect XML API.</param> /// <returns> /// <see cref="EnumerableResultStatus{T}" /> /// </returns> public static EnumerableResultStatus <PrincipalListItem> GetPrincipalList(this AdobeConnectXmlAPI adobeConnectXmlApi) { return(adobeConnectXmlApi.GetPrincipalList(String.Empty, String.Empty)); }