Module: check_mk
Branch: master
Commit: 98927c46f286e5e985839af35a79f08ab5d229d8
URL:
http://git.mathias-kettner.de/git/?p=check_mk.git;a=commit;h=98927c46f286e5…
Author: Mathias Kettner <mk(a)mathias-kettner.de>
Date: Mon Jan 9 18:01:58 2012 +0100
WATO: Api call for getting users
---
web/htdocs/wato.py | 3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/web/htdocs/wato.py b/web/htdocs/wato.py
index 8396078..a88a18c 100644
--- a/web/htdocs/wato.py
+++ b/web/htdocs/wato.py
@@ -9019,6 +9019,9 @@ class API:
def register_hook(self, name, func):
g_hooks.setdefault(name, []).append(func)
+ def get_all_users(self):
+ return load_users()
+
# Get a (flat) dictionary containing all hosts with their *effective*
# attributes (containing all inherited and default values where appropriate)
# of the given folder. If folder is None, returns all hosts from the root folder