From 3087f0bc4c81a11ab3ecc08d3a37ea3d0dfda390 Mon Sep 17 00:00:00 2001 From: Daniel Hodan Date: Mon, 15 Oct 2018 18:24:26 +0200 Subject: GH-9609: Add GetUsersInTeam in plugin API (#9642) * add GetUsersInTeam in plugin api * remove extra space in comment --- plugin/api.go | 3 +++ 1 file changed, 3 insertions(+) (limited to 'plugin/api.go') diff --git a/plugin/api.go b/plugin/api.go index 7034cf3d0..004d4c1ff 100644 --- a/plugin/api.go +++ b/plugin/api.go @@ -52,6 +52,9 @@ type API interface { // GetUserByUsername gets a user by their username. GetUserByUsername(name string) (*model.User, *model.AppError) + // GetUsersInTeam gets users in team. + GetUsersInTeam(teamId string, page int, perPage int) ([]*model.User, *model.AppError) + // UpdateUser updates a user. UpdateUser(user *model.User) (*model.User, *model.AppError) -- cgit v1.2.3-1-g7c22