/userEntitlements/[userName]: User Entitlements (username)

URL:
https://[root]/content/listings/[itemID]/userEntitlements/[userName]
Methods:
GET

Example Usage

URL for User Entitlements (username)

Use dark colors for code blocksCopy
1
https://www.arcgis.com/sharing/rest/content/listings/3855a9d026f64917a09bfc78b590c42f/userEntitlements/johnDoe

Description

This resource allows user, purchasing organization administrator, and members with the manage licenses privilege to retrieve entitlements assigned to the user.

Request Parameters

ParameterDetails

[Common Parameters]

For a complete listing, see common parameters.

JSON Response Syntax

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
9
10
{
    "userEntitlements": {
        "username": "<username>",
        "lastLogin": -1, // timestamp when user last logged in to this app, -1 implies never
        "disconnected": false,
        "entitlements": [
            "<user entitlement string>"
        ]
    }
}

JSON Response Example

Use dark colors for code blocksCopy
1
2
3
4
5
6
7
8
{
"userEntitlements":  {
    "username":"Johndoe",
    "lastLogin":-1,
    "disconnected":false,
    "entitlements":[
        "drone2map"
]}}

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