This is not meant to contradict Dmitry's answer in any way (it's completely
correct) but rather add a higher level verification to an entry -
You should first check the AddressEntry.DisplayType to see if it is of type
olDistList (value = 1) first (there are other values to this but have as yet
to have someone tell me or encounter where these would be used within the
GAL) . That would indicate that this is a Global Distribution Group with no
members if AddressEntry.Members is null (or Nothing). At the same time, you
should also take into account that Distribution Groups can also have
<embedded> distribution groups so you should allow for that possibility.
The only validation we've seen so far is that you cannot include a GDG that
references itself but child references may well include references to a
global parent (in effect causing a very large circular reference if you are
traversing the tree - not a major issue in normal cases).
Karl