getCOrgOrEOrgId
Get the c-org or e-org ID. Defaults to the communityOrgId if the user is currently authed into an e-org; otherwise it looks up the trusted org relationship to get the e-org id
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| context Required | IArcGISContext |
IArcGISContext |
Returns
orgid of the c-org or e-org
string
Function defined in packages/common/src/search/getCOrgOrEOrgId.ts:10