In ArcGIS Online, privileges are a set of strings used to manage access to secure resources in ArcGIS. They are assigned to two types of entities:
- ArcGIS accounts used by ArcGIS users.
- Access tokens used by applications.
Privileges for accounts
All ArcGIS accounts have a list of privileges associated with them that determine the services, content, and operations the user is authorized to access.
Privileges for ArcGIS Online accounts are managed through roles assigned to members by an organization administrator. To learn more, go to User types, roles, and privileges in the ArcGIS Online documentation.
Privileges for access tokens
Access tokens have privileges associated with them that determine the services, content, and operations they are authorized to access. These access tokens are used by applications to access ArcGIS resources and perform operations using ArcGIS services.
The type of authentication used to obtain an access token determines how its privileges are managed. Generally, token privileges are managed through developer credentials, which allow for the setting of specific privileges as well as item access. In user authentication, access token privileges are not assigned manually, and are rather inherited from the privileges of the signed-in ArcGIS account.
Access tokens with specific privileges are supported in ArcGIS Location Platform, ArcGIS Online, and ArcGIS Enterprise. They are created using Developer credentials configured for API key authentication or App authentication.
| Type of authentication | Type of developer credential | Privilege management |
|---|---|---|
| API key authentication | API key credentials | Privileges are assigned using developer credentials. |
| App authentication | OAuth 2.0 credentials (For app authentication) | Privileges are assigned using developer credentials. |
| User authentication | OAuth 2.0 credentials (For user authentication) | Privileges are inherited from the signed-in ArcGIS account. |
The exact list of privileges associated with a token can be obtained using a /self request.
List of privileges
The following table lists all privileges available for ArcGIS Online by category. The actual privileges available to an ArcGIS Online account vary based on the account's user type and roles.
| Category | Label | Privilege string | Description |
|---|---|---|---|
| Basemaps | Basemap styles service | premium | Allow application to access the basemap styles service. Learn more |
| Geocoding | Geocode service | premium | Allow application to access the geocoding service. Learn more |
| Routing | Routing (Network analysis) | premium | Allow application to access the routing service. Learn more |
| Data enrichment | GeoEnrichment service | premium | Allow application to access the GeoEnrichment service. Learn more |
Tutorials
Create an API key
Create and configure API key credentials to get a long-lived API key access token.