fetchUserEnrichments
Fetch enrichments for Users
Parameters
| Parameter | Type | Default | Notes |
|---|---|---|---|
| user Required | IUser | ||
| enrichments Required | UserEnrichment[] | ||
| requestOptions Optional | IHubRequestOptions |
Available requestOptions
| Property | Type | Notes |
|---|---|---|
| Optional | ArcGISIdentityManager | |
| Optional | function(input: RequestInfo, init: RequestInit) : Promise<Response> |
The implementation of |
| Optional | string |
This is for server-side usage only, not for front-end use. |
| Optional | string | |
| Optional | boolean | |
| Optional | IHubRequestOptionsPortalSelf |
Returns
| Property | Type | Notes |
|---|---|---|
| IUser | ||
| 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 |
| Optional Inherited | IPortal |
Function defined in packages/common/src/users/_internal/enrichments.ts:139