2005-07-21 Helge Hess <helge.hess@opengroupware.org>
+ * SOGoUser.m: added a method to fetch share/emitter address pairs from
+ the AgenorUserManager (v0.9.68)
+
* AgenorUserManager.m: rewrote to use NSMutableDictionary instead of
SOGoLRUCache. Flush caches every hour (configurable using
'AgenorCacheCheckInterval' default). Added method to retrieve the
context.activeUser
*/
+@class NSString, NSArray, NSDictionary, NSUserDefaults;
+
@class NSString, NSArray, NSURL, NSUserDefaults;
@interface SOGoUser : SoUser
- (NSString *)email;
- (NSString *)cn;
+- (NSURL *)freeBusyURL;
+
+/* shares and identities */
+
- (NSString *)primaryIMAP4AccountString;
- (NSString *)primaryMailServer;
- (NSArray *)additionalIMAP4AccountStrings;
- (NSArray *)additionalEMailAddresses;
-- (NSURL *)freeBusyURL;
+- (NSDictionary *)additionalIMAP4AccountsAndEMails;
/* defaults */
return [[self userManager] getSharedMailboxEMailsForUID:[self login]];
}
+- (NSDictionary *)additionalIMAP4AccountsAndEMails {
+ return [[self userManager] getSharedMailboxesAndEMailsForUID:[self login]];
+}
+
- (NSURL *)freeBusyURL {
return [[self userManager] getFreeBusyURLForUID:[self login]];
}