Ejemplo n.º 1
0
        public static UserConfiguration GetCalendarConfiguration(MailboxSession session, string configuration, UserConfigurationTypes type, bool createIfNonexisting)
        {
            StoreId defaultFolderId = session.GetDefaultFolderId(DefaultFolderType.Calendar);

            if (defaultFolderId != null)
            {
                return(UserConfigurationHelper.GetFolderConfiguration(session, defaultFolderId, configuration, type, createIfNonexisting, false));
            }
            return(null);
        }
Ejemplo n.º 2
0
 public static UserConfiguration GetPublishingConfiguration(MailboxSession session, StoreId folderId, bool createIfNonexisting)
 {
     return(UserConfigurationHelper.GetFolderConfiguration(session, folderId, "Calendar.PublishOptions", UserConfigurationTypes.Dictionary, createIfNonexisting, false));
 }