Ejemplo n.º 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);
        }
Ejemplo n.º 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);
        }