searchGroups

Function

import { searchGroups } from '@esri/arcgis-rest-groups';
//
searchGroups({
  q:'water'
})
  .then(response) // response.results.total => 355

Search a portal for groups. See the REST Documentation for more information.

Parameters

Parameter Type Default Notes
searchForm Required IGroupSearchRequest

Search request

requestOptions Optional IRequestOptions

Options for the request

Returns

Promise<IGroupSearchResult> - A Promise that will resolve with the data from the response.


Function defined in packages/arcgis-rest-groups/src/search.ts:47