MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / GetActiveByID

Method GetActiveByID

inventory/user.go:57–57  ·  view source on GitHub ↗

GetActiveByID get user by its ID, only active user will be returned.

(ctx context.Context, id int)

Source from the content-addressed store, hash-verified

55 GetByID(ctx context.Context, id int) (*ent.User, error)
56 // GetActiveByID get user by its ID, only active user will be returned.
57 GetActiveByID(ctx context.Context, id int) (*ent.User, error)
58 // SetStatus Set user to given status
59 SetStatus(ctx context.Context, u *ent.User, status user.Status) (*ent.User, error)
60 // AnonymousUser returns the anonymous user.

Callers 4

ResetMethod · 0.65
ExchangeMethod · 0.65
ListInUserProfileMethod · 0.65
RefreshMethod · 0.65

Implementers 1

userClientinventory/user.go

Calls

no outgoing calls

Tested by

no test coverage detected