MCPcopy
hub / github.com/mattermost/mattermost / GetUser

Method GetUser

server/channels/app/teams/service.go:37–37  ·  view source on GitHub ↗
(userID string)

Source from the content-addressed store, hash-verified

35// Users is a subset of UserService interface
36type Users interface {
37 GetUser(userID string) (*model.User, error)
38}
39
40// WebHub is used to publish events, the name should be given appropriately

Callers 15

InitBasicMethod · 0.65
TestAPIMetricsFunction · 0.65
TestUpdateUserFunction · 0.65
TestCreateUserFunction · 0.65
TestUpdateUserEmailFunction · 0.65
getUserFromDBFunction · 0.65
TestPermanentDeleteUserFunction · 0.65
TestPromoteGuestToUserFunction · 0.65
TestDemoteUserToGuestFunction · 0.65

Implementers 11

apiRPCClientserver/public/plugin/client_rpc.go
apiRPCServerserver/public/plugin/client_rpc.go
apiTimerLayerserver/public/plugin/api_timer_layer_g
APIserver/public/plugin/plugintest/api.go
Client4server/public/model/client4.go
Appserver/channels/app/app.go
PluginAPIserver/channels/app/plugin_api.go
UserServiceserver/channels/app/users/service.go
MockClientserver/cmd/mmctl/mocks/client_mock.go
MockClientMockRecorderserver/cmd/mmctl/mocks/client_mock.go
LdapInterfaceserver/einterfaces/mocks/LdapInterface

Calls

no outgoing calls

Tested by 15

InitBasicMethod · 0.52
TestAPIMetricsFunction · 0.52
TestUpdateUserFunction · 0.52
TestCreateUserFunction · 0.52
TestUpdateUserEmailFunction · 0.52
getUserFromDBFunction · 0.52
TestPermanentDeleteUserFunction · 0.52
TestPromoteGuestToUserFunction · 0.52
TestDemoteUserToGuestFunction · 0.52