Example #1
0
        public ExchangeAccount[] GetExchangeAccountsPaged(int itemId, string accountTypes,
            string filterColumn, string filterValue,
            int maximumRows, int startRowIndex, string sortColumn, bool archiving)
        {
            if (!String.IsNullOrEmpty(filterValue))
                filterValue = filterValue + "%";

            accounts = ES.Services.ExchangeServer.GetAccountsPaged(itemId,
                accountTypes, filterColumn, filterValue, sortColumn, startRowIndex, maximumRows, archiving);

            return accounts.PageItems;
        }
Example #2
0
        public ExchangeAccount[] GetOrganizationSecurityGroupsPaged(int itemId, string accountTypes,
                                                                    string filterColumn, string filterValue,
                                                                    int maximumRows, int startRowIndex, string sortColumn)
        {
            if (!String.IsNullOrEmpty(filterValue))
            {
                filterValue = filterValue + "%";
            }

            accounts = ES.Services.Organizations.GetOrganizationSecurityGroupsPaged(itemId,
                                                                                    filterColumn, filterValue, sortColumn, startRowIndex, maximumRows);

            return(accounts.PageItems);
        }