searchCommunityUsers

searchCommunityUsers

Function
searchCommunityUsers(searchIUserSearchOptions | SearchQueryBuilder): Promise<ISearchResult<IUser>>
Use dark colors for code blocksCopy
1
2
3
4
import { searchCommunityUsers } from "@esri/arcgis-rest-portal";
//
searchCommunityUsers({ q: 'tommy', authentication })
  .then(response) // response.total => 355

Search all portals for users.

Parameters
ParameterTypeNotes
search
IUserSearchOptions | SearchQueryBuilder

A RequestOptions object to pass through to the endpoint.

Returns 
Promise<ISearchResult<IUser>>

A Promise that will resolve with the data from the response.

Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.