summaryrefslogtreecommitdiffstats
path: root/app/plugin_api.go
diff options
context:
space:
mode:
Diffstat (limited to 'app/plugin_api.go')
-rw-r--r--app/plugin_api.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/plugin_api.go b/app/plugin_api.go
index f3d588e08..1deb45802 100644
--- a/app/plugin_api.go
+++ b/app/plugin_api.go
@@ -160,6 +160,10 @@ func (api *PluginAPI) GetUserByUsername(name string) (*model.User, *model.AppErr
return api.app.GetUserByUsername(name)
}
+func (api *PluginAPI) GetUsersInTeam(teamId string, page int, perPage int) ([]*model.User, *model.AppError) {
+ return api.app.GetUsersInTeam(teamId, page, perPage)
+}
+
func (api *PluginAPI) UpdateUser(user *model.User) (*model.User, *model.AppError) {
return api.app.UpdateUser(user, true)
}