I'd like to request help with the following problems:
Using: c#, Microsoft.Exchange.WebServices, ExchangeServer 2013 SP1
- Is it possible to get id of GAL by the use of c# + Microsoft.Exchange.WebServices ? The only possibility I have found is that I need to use "the Get-GlobalAddressList cmdlet https://technet.microsoft.com/en-us/library/aa996579(v=exchg.160).aspx in Exchange Management Shell.
I'd prefer to retrieve it via c#, but I cannot find any information regarding it.
- Querying GAL - retrieving all the items. Making the research I found 2 ways - methods which are helpful:
a) service.ResolveName - works after some minor tweaks b) service. FindPeople - not tested as I do not have id of GAL. Can someone tell me if this is better than "a" and provide maybe exmaple of use in c#
Are there any other ways to get all the items from GAL ? Any links for tutorials, articles or code examples?