Exemple #1
0
 private Result <ADRecipient>[] FindByExchangeGuidsIncludingArchive(IRecipientSession adRecipientSession, Guid[] archiveGuids)
 {
     Result <ADRecipient>[] array = new Result <ADRecipient> [archiveGuids.Length];
     for (int i = 0; i < archiveGuids.Length; i++)
     {
         Result <ADRecipient>[] array2 = adRecipientSession.FindByExchangeGuidsIncludingArchive(new Guid[]
         {
             archiveGuids[i]
         });
         if (array2.Length > 0)
         {
             array[i] = array2[0];
         }
         else
         {
             array[i] = new Result <ADRecipient>(null, ProviderError.NotFound);
         }
     }
     return(array);
 }