MCPcopy Create free account
hub / github.com/benjitaylor/agentation / getUsersByOrg

Function getUsersByOrg

mcp/src/server/sqlite.ts:750–753  ·  view source on GitHub ↗
(orgId: string)

Source from the content-addressed store, hash-verified

748 },
749
750 getUsersByOrg(orgId: string): User[] {
751 const rows = tenantStmts.getUsersByOrg.all(orgId) as Record<string, unknown>[];
752 return rows.map(rowToUser);
753 },
754
755 // API Keys
756 createApiKey(userId: string, name: string, expiresAt?: string): { apiKey: ApiKey; rawKey: string } {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…