예제 #1
0
        internal static object SKUCapabilityStatusGetter(IPropertyBag propertyBag)
        {
            AssignedCapabilityStatus?assignedCapabilityStatus = null;
            AssignedPlanValue        effectiveRootServicePlan = SyncUser.GetEffectiveRootServicePlan(propertyBag);

            if (effectiveRootServicePlan != null)
            {
                assignedCapabilityStatus = new AssignedCapabilityStatus?(effectiveRootServicePlan.CapabilityStatus);
            }
            return(assignedCapabilityStatus);
        }
예제 #2
0
        internal static object SKUCapabilityGetter(IPropertyBag propertyBag)
        {
            Capability        capability = Capability.None;
            AssignedPlanValue effectiveRootServicePlan = SyncUser.GetEffectiveRootServicePlan(propertyBag);

            if (effectiveRootServicePlan != null)
            {
                capability = SyncUser.GetExchangeCapability(effectiveRootServicePlan.Capability);
            }
            return(capability);
        }