getUserTags

getUserTags

Function
getUserTags(requestOptionsIGetUserOptions): Promise<IGetUserTagsResponse>

Users tag the content they publish in their portal via the add and update item calls. This resource lists all the tags used by the user along with the number of times the tags have been used. See the REST Documentation for more information.

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
import { getUserTags } from '@esri/arcgis-rest-portal';

getUserTags({
  username: "jsmith",
  authentication
})
  .then(response)
Parameters
ParameterType
requestOptions
IGetUserOptions
Returns 
Promise<IGetUserTagsResponse>

A Promise that will resolve with the user tag array

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