summaryrefslogtreecommitdiffstats
path: root/plugin/api.go
diff options
context:
space:
mode:
Diffstat (limited to 'plugin/api.go')
-rw-r--r--plugin/api.go3
1 files changed, 3 insertions, 0 deletions
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)