/userEntitlements: User Entitlements

URL:
https://[root]/content/listings/[itemID]/userEntitlements
Methods:
GET
Child Resources:
Username

Example Usage

1
https://www.arcgis.com/sharing/rest/content/listings/faa0a4deb84a4eaaa02ddad0c2b7a133/userEntitlements?f=json

Description

This operation allows purchasing organization administrators or a user with Manage Licenses privilege to retrieve all user entitlements assigned to users in their organization.

A JSON document representing the set of entitlements assigned to the specified set of users.

Request Parameters

ParameterDetails

f

JSON

Token

AdminToken or token of user with Manage licenses privilege.

JSON Response Syntax

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "userEntitlements": [
        {
            "username": "<username1>",
            "lastLogin": -1, // timestamp (in ms from epoch) when user last logged in to this app, -1 implies never
            "disconnected": false
            "entitlements": [
                "<userEntitlement String>" //unique identifier of the product - typically listing id is used
            ]
        },
        {
            "username": "<username2>",
            "lastLogin": -1,
            "disconnected": false,
            "entitlements": [
                "<userEntitlement String>"
            ]
        }
    ]
}

JSON Response Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{
    "userEntitlements": [
        {
            "username": "jsmith",
            "lastLogin": -1, // timestamp (in ms from epoch) when user last logged in to this app, -1 implies never
            "disconnected": false
            "entitlements": [
                ""
            ]
        },
        {
            "username": "johndoe",
            "lastLogin": -1,
            "disconnected": false,
            "entitlements": [
                "faa0a4deb84a4eaaa02ddad0c2b7a133"
            ]
        }
    ]
}

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