Way too many changes to mention. The 'rm' mode works now.
[mailshears.git] / lib / rm / plugins / agendav.rb
index 4cd179c655323070d71b01348a975a4a214047c0..6aa6d9191216d59f635238836bfe7e05ad68d49e 100644 (file)
@@ -42,4 +42,14 @@ class AgendavRm
 
   end
 
+
+  def get_domain_usernames(domain)
+    usernames = get_agendav_usernames();
+    matches = usernames.select do |username|
+      username =~ /@#{domain}$/
+    end
+
+    return matches
+  end
+
 end