1
0
mirror of https://github.com/haiwen/ccnet-server.git synced 2025-09-14 05:50:38 +00:00

Add list all departments api.

This commit is contained in:
ly1217
2019-05-08 19:28:29 -07:00
parent 0289c20b08
commit 81d9ecfa12
5 changed files with 62 additions and 0 deletions

View File

@@ -110,6 +110,10 @@ ccnet_group_manager_is_group_user (CcnetGroupManager *mgr,
const char *user,
gboolean in_structure);
GList*
ccnet_group_manager_list_all_departments (CcnetGroupManager *mgr,
GError **error);
GList*
ccnet_group_manager_get_all_groups (CcnetGroupManager *mgr,
int start, int limit, GError **error);