diff options
Diffstat (limited to 'lib/group.php')
-rw-r--r-- | lib/group.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/group.php b/lib/group.php index 54dc0b6463c..65a23989a27 100644 --- a/lib/group.php +++ b/lib/group.php @@ -243,4 +243,12 @@ class OC_Group { public static function groupExists($gid){ return in_array( $gid, self::getGroups()); } + + /** + * @brief get a list of all users in a group + * @returns array with user ids + */ + public static function usersInGroup($gid){ + return self::$_backend->usersInGroup(); + } } |