MCPcopy Create free account
hub / github.com/Zoo-Code-Org/Zoo-Code / getOrganizationRole

Method getOrganizationRole

packages/cloud/src/CloudService.ts:223–227  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

221 }
222
223 public getOrganizationRole(): string | null {
224 this.ensureInitialized()
225 const userInfo = this.authService!.getUserInfo()
226 return userInfo?.organizationRole || null
227 }
228
229 public hasStoredOrganizationId(): boolean {
230 this.ensureInitialized()

Callers 1

Calls 2

ensureInitializedMethod · 0.95
getUserInfoMethod · 0.65

Tested by

no test coverage detected