   (:import
     [imcode.server Imcms]
     [imcode.server.document DocumentDomainObject]
-    [com.imcode.imcms.misc-utils :only (dump)]    
-    [imcode.server.user UserDomainObject]))
+    [imcode.server.user UserDomainObject])
+  (:use
+    [com.imcode.imcms.misc-utils :only [dump]]))
 
 (defmacro invoke
   "Invokes Imcms class static method."

(defn doc-mapper []
  (.getDocumentMapper (services)))

(defn langs []
  (.getLanguages (i18n-support)))




(defn print-conf []
  (dump (conf)))


(defn roles []
  (.getAllRoles (auth-mapper)))

(defn users []
  (.getUsers (auth-mapper) true true))

(defn users-info []
  (for [u (users)] {:id (.getId u), :name (.getLoginName u), :password (.getPassword u)}))