コード例 #1
0
 // Token: 0x06001ACC RID: 6860 RVA: 0x0007069C File Offset: 0x0006E89C
 public static RestrictionCheckResult CheckDeliveryRestriction(ADObjectId senderId, bool senderIsAuthenticated, ICollection <ADObjectId> rejectMessagesFrom, ICollection <ADObjectId> rejectMessagesFromDLMembers, ICollection <ADObjectId> acceptMessagesFrom, ICollection <ADObjectId> acceptMessagesFromDLMembers, ICollection <ADObjectId> bypassModerationFrom, ICollection <ADObjectId> bypassModerationFromDLMembers, ICollection <ADObjectId> moderators, ICollection <ADObjectId> managedBy, bool requiresAllSendersAreAuthenticated, bool moderationEnabled, RecipientType recipientType, IRecipientSession session, ISimpleCache <ADObjectId, bool> senderMembershipCache)
 {
     return(ADRecipientRestriction.CheckDeliveryRestriction(senderId, senderIsAuthenticated, rejectMessagesFrom, rejectMessagesFromDLMembers, acceptMessagesFrom, acceptMessagesFromDLMembers, bypassModerationFrom, bypassModerationFromDLMembers, moderators, managedBy, requiresAllSendersAreAuthenticated, moderationEnabled, recipientType, session, senderMembershipCache, -1));
 }
コード例 #2
0
 // Token: 0x06001ACB RID: 6859 RVA: 0x000705E4 File Offset: 0x0006E7E4
 public static RestrictionCheckResult CheckDeliveryRestrictionForAuthenticatedSender(ADObjectId senderId, ADRawEntry recipientEntry, IRecipientSession session)
 {
     return(ADRecipientRestriction.CheckDeliveryRestriction(senderId, true, (MultiValuedProperty <ADObjectId>)recipientEntry[ADRecipientSchema.RejectMessagesFrom], (MultiValuedProperty <ADObjectId>)recipientEntry[ADRecipientSchema.RejectMessagesFromDLMembers], (MultiValuedProperty <ADObjectId>)recipientEntry[ADRecipientSchema.AcceptMessagesOnlyFrom], (MultiValuedProperty <ADObjectId>)recipientEntry[ADRecipientSchema.AcceptMessagesOnlyFromDLMembers], (MultiValuedProperty <ADObjectId>)recipientEntry[ADRecipientSchema.BypassModerationFrom], (MultiValuedProperty <ADObjectId>)recipientEntry[ADRecipientSchema.BypassModerationFromDLMembers], (MultiValuedProperty <ADObjectId>)recipientEntry[ADRecipientSchema.ModeratedBy], (MultiValuedProperty <ADObjectId>)recipientEntry[ADGroupSchema.ManagedBy], true, (bool)recipientEntry[ADRecipientSchema.ModerationEnabled], (RecipientType)recipientEntry[ADRecipientSchema.RecipientType], session, null, -1));
 }