getUserContent

getUserContent

constant
Function
getUserContent(requestOptionsIUserContentRequestOptions): Promise<IUserContentResponse>

Returns a listing of the user's content. If the username is not supplied, it defaults to the username of the authenticated user. If start is not specified it defaults to the first page.

If the num is not supplied it is defaulted to 10. See the REST Documentation for more information.

1
2
3
4
5
6
7
8
9
import { getUserContent } from "@esri/arcgis-rest-portal";

getUserContent({
   owner: 'geemike',
   folderId: 'bao7',
   start: 1,
   num: 20,
   authentication
})
Parameters
ParameterTypeNotes
requestOptions
IUserContentRequestOptions

Options for the request

Returns 
Promise<IUserContentResponse>

A Promise<IUserContentResponse>

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

You can no longer sign into this site. Go to your ArcGIS portal or the ArcGIS Location Platform dashboard to perform management tasks.

Your ArcGIS portal

Create, manage, and access API keys and OAuth 2.0 developer credentials, hosted layers, and data services.

Your ArcGIS Location Platform dashboard

Manage billing, monitor service usage, and access additional resources.

Learn more about these changes in the What's new in Esri Developers June 2024 blog post.

Close