diff options
author | Robin Appelman <icewind1991@gmail.com> | 2010-09-15 20:24:14 +0400 |
---|---|---|
committer | Robin Appelman <icewind1991@gmail.com> | 2010-09-15 20:24:14 +0400 |
commit | a1fbbd09ee0bbbbf23d3c7026ee66d2d5e427d0a (patch) | |
tree | 29ff8ff3b5b62f7369c2fd0c1c4399191d7c4318 /inc/User | |
parent | 3c1cdee910b4c6d80879aaa2b9676ebc54165837 (diff) |
add functions to get a list of all users or groups
Diffstat (limited to 'inc/User')
-rwxr-xr-x | inc/User/backend.php | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/inc/User/backend.php b/inc/User/backend.php index b830859566e..4283e6799ef 100755 --- a/inc/User/backend.php +++ b/inc/User/backend.php @@ -138,4 +138,16 @@ abstract class OC_USER_BACKEND { */ abstract public static function checkPassword($username, $password); + + /** + * get a list of all users + * + */ + abstract public static function getUsers(); + + /** + * get a list of all groups + * + */ + abstract public static function getGroups(); } |