getMembers
Fetches and returns members given a list of usernames
NOTE: AGO's user search endpoint is only available to authenticated users; however, since unauthenticated users should still be able to access public profiles, we support fetching members for both unauthenticated/authenticated users in this function
Parameters
Parameter | Type | Default | Notes |
---|---|---|---|
usernames Required | string[] |
List of usernames to search for |
|
requestOptions Required | IHubRequestOptions |
IHubRequestOptions |
Available requestOptions
Property | Type | Notes |
---|---|---|
Optional | ArcGISIdentityManager | |
Optional | function(input: RequestInfo, init: RequestInit) : Promise<Response> |
The implementation of |
Optional | string | |
Optional | boolean | |
Optional | IHubRequestOptionsPortalSelf |
Returns
Function defined in sites/src/get-members.ts:27