fetchUserEnrichments

Function

Fetch enrichments for Users

Parameters

Parameter Type Default Notes
user Required IUser
enrichments Required UserEnrichment[]
requestOptions Optional IHubRequestOptions

Available requestOptions

Property Type Notes
authentication Optional UserSession
hubApiUrl Optional string
isPortal Optional boolean
portalSelf Optional IHubRequestOptionsPortalSelf

Returns

Property Type Notes
user IUser
errors Optional Inherited IEnrichmentErrorInfo[]

Any errors encountered when fetching enrichments see https://github.com/ArcGIS/hub-indexer/blob/master/docs/errors.md#response-formatting-for-errors

org Optional Inherited IPortal

Function defined in common/src/users/_internal/enrichments.ts:118