68249

How to get DL in Exchange Server using Java API?

How to get DL (distribution List) from Microsoft Exchange Server via EWS in Java?

I have tried EWS Java API but could not find list of Distribution List(GAL) of exchange server, any help regarding to this API or any other would be appreciated.

Answer1:

The GAL is not directly supported. You can use the ResolveNames method to resolve individual names. To perform a search on the GAL, you need to use LDAP. See http://www.infinitec.de/post/2005/02/How-to-get-the-Global-Address-List-programatically.aspx.

Answer2:

Take a look on JIntegra. I remember that they support of MS Exchange. Probably some API exists. Good luck.

Answer3:

You can use LDAP if you have access to that. Or PowerShell. But Henning is right EWS itself has pretty limited stuff here.

Recommend

  • GAL from outlook with exchange from which one to get?
  • Design Paradigm for instantiating object from XML file
  • Java: Is there any simpler way to parse array elements from string?
  • Laravel / Eloquent hasMany relationship sum()
  • The best way to mark (split?) dataset in each string
  • How to count words in a Hashmap
  • How do I access a nested tag in a kml in openlayers?
  • Multiple Actionscript 3 layers
  • How to token a word which combined by two words without whitespace
  • How can I read the liblist from within an ILE-Program? (preferably RPG or CL)
  • Check multiple file exists or not using ANT
  • Camel REST Bean Chaining
  • Efficient way to upload multiple images to S3 from iOS
  • How to Dynamically adding fields in JSF?
  • RDF - Distributing rdf:type to all items in the list
  • Extracting individual digits from a float
  • mapping between two ontologies
  • Return null in boolean to checkbox state converter in XAML
  • Azure table query partial partitionkey guid match
  • Cannot invoke my method on the array type int[]
  • Lua: Line breaks in strings
  • SIP API media codecs
  • Iron Router: How do I send data to the layout?
  • Does Apportable support to build library binary (.a/.so)?
  • Unexpected token ILLEGAL while running node.js mocha test
  • Transactional Create with Validation in ServiceStack Redis Client
  • Hardware Accelerated Image Scaling in windows using C++
  • Custom Tabgroup Appcelerator
  • PHPUnit_Framework_TestCase class is not available. Fix… - Makegood , Eclipse
  • Projection media query: browser support and workarounds?
  • Different response to non-authenticated users and AJAX calls
  • Is there a amazon webstore API for customers?
  • Resize panoramic image to fixed size
  • Volusion's generic SQL folder, functionality
  • VB.net deserialize, JSON Conversion from type 'Dictionary(Of String,Object)' to type '
  • Why can't I rebase on to an ancestor of source changesets if on a different branch?
  • Suggestions to manage Login/Logout transitions
  • How do you join a server to an Active Directory (domain)?
  • coudnt use logback because of log4j
  • Unable to use reactive element in my shiny app