Get Users

URL:
https://<root>/security/users/getUsers
Methods:
POST
Required Capability:
Access allowed with any authorized privilege
Version Introduced:
10.1

Description

The getUsers operation returns a pageable view of users in the user store. It is intended for iterating over all available user accounts. To search for specific user accounts instead, use the Search Users operation.

Request parameters

ParameterDescription

startIndex

The starting index (zero-based) from the users list that must be returned in the result page. The default is 0.

Example
1
startIndex=9

pageSize

The maximum number of user accounts to return in the result page. The default size is 10. The pageSize is also governed by the underlying implementation of the user store.

Example
1
pageSize=20

f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

The following is a sample POST request for the getUsers operation, which seeks to return 20 users starting from the 10th position:

1
2
3
4
5
6
POST /webadaptor/admin/security/users/getUsers HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

startIndex=9&pageSize=20&f=json

JSON Response syntax

1
2
3
4
{
  "users": [<user1>, <user2>],
  "hasMore": <true|false>
}

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