// Token: 0x06001D59 RID: 7513 RVA: 0x0007A460 File Offset: 0x00078660 internal static bool IsRecipientFilterPropertiesModified(ADObject adObject, bool isChanged) { ISupportRecipientFilter supportRecipientFilter = (ISupportRecipientFilter)adObject; ADPropertyDefinition[] array = new ADPropertyDefinition[] { supportRecipientFilter.RecipientFilterSchema, supportRecipientFilter.LdapRecipientFilterSchema, supportRecipientFilter.IncludedRecipientsSchema, supportRecipientFilter.ConditionalDepartmentSchema, supportRecipientFilter.ConditionalCompanySchema, supportRecipientFilter.ConditionalStateOrProvinceSchema, supportRecipientFilter.ConditionalCustomAttribute1Schema, supportRecipientFilter.ConditionalCustomAttribute2Schema, supportRecipientFilter.ConditionalCustomAttribute3Schema, supportRecipientFilter.ConditionalCustomAttribute4Schema, supportRecipientFilter.ConditionalCustomAttribute5Schema, supportRecipientFilter.ConditionalCustomAttribute6Schema, supportRecipientFilter.ConditionalCustomAttribute7Schema, supportRecipientFilter.ConditionalCustomAttribute8Schema, supportRecipientFilter.ConditionalCustomAttribute9Schema, supportRecipientFilter.ConditionalCustomAttribute10Schema, supportRecipientFilter.ConditionalCustomAttribute11Schema, supportRecipientFilter.ConditionalCustomAttribute12Schema, supportRecipientFilter.ConditionalCustomAttribute13Schema, supportRecipientFilter.ConditionalCustomAttribute14Schema, supportRecipientFilter.ConditionalCustomAttribute15Schema }; foreach (ADPropertyDefinition providerPropertyDefinition in array) { if (isChanged) { if (adObject.IsChanged(providerPropertyDefinition)) { return(true); } } else if (adObject.IsModified(providerPropertyDefinition)) { return(true); } } return(false); }
// Token: 0x06006079 RID: 24697 RVA: 0x00147D60 File Offset: 0x00145F60 public override bool IsApplicable(IConfigurable readOnlyPresentationObject) { if (base.Context != null && base.Context.UserSpecifiedParameters != null && base.Context.UserSpecifiedParameters.Contains("OverrideRecipientQuotas") && base.Context.UserSpecifiedParameters["OverrideRecipientQuotas"] != null && base.Context.UserSpecifiedParameters["OverrideRecipientQuotas"] is SwitchParameter && (SwitchParameter)base.Context.UserSpecifiedParameters["OverrideRecipientQuotas"]) { return(false); } ADObject adobject = readOnlyPresentationObject as ADObject; if (base.IsApplicable(readOnlyPresentationObject)) { return(this.IsApplicableRecipientTypeDetails(adobject)); } if (adobject != null && adobject.IsChanged(ADRecipientSchema.RecipientType)) { RecipientType recipientType = (RecipientType)adobject[ADRecipientSchema.RecipientType]; if (recipientType == RecipientType.DynamicDistributionGroup || recipientType == RecipientType.MailContact || recipientType == RecipientType.MailNonUniversalGroup || recipientType == RecipientType.MailUniversalDistributionGroup || recipientType == RecipientType.MailUniversalSecurityGroup || recipientType == RecipientType.MailUser || recipientType == RecipientType.UserMailbox || recipientType == RecipientType.PublicFolder) { return(this.IsApplicableRecipientTypeDetails(adobject)); } } return(false); }
protected override bool ShouldUpgradeExchangeVersion(ADObject adObject) { return(adObject.IsChanged(ADGroupSchema.IsOrganizationalGroup) || base.Fields.IsModified(WindowsGroupSchema.IsHierarchicalGroup)); }
private static bool IsNameNewOrChangedForTenantScopedObject(ADObject instance) { return(instance.OrganizationId != OrganizationId.ForestWideOrgId && (instance.IsChanged(ADObjectSchema.Id) || instance.IsChanged(ADObjectSchema.RawName))); }