mirror of
https://github.com/mattermost/mattermost.git
synced 2025-02-25 18:55:24 -06:00
GH-9609: Add GetUsersInTeam in plugin API (#9642)
* add GetUsersInTeam in plugin api * remove extra space in comment
This commit is contained in:
committed by
Christopher Speller
parent
9da4aba3f2
commit
3087f0bc4c
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user