- URL:https://[root]/community/users/[userName]
- Operations:Add Resource, Delete User, Remove Resource, Update User
- Child Resources:User App Bundles, User License Type, User Tags, Notifications, Provisioned Listings, Reports, Invitations, Notifications
- Related Resources: User Content
Example Usage
URL for User
https://www.arcgis.com/sharing/rest/community/users/jsmith
Description
A user resource representing a registered user of the portal.
Personal details of the user, such as e-mail and groups, are returned only to the user or the administrator of the user's organization (the properties in the Response Properties table below).
A user is not visible to any other user (except the organization's administrator) if their access setting is set to "private."
Request Parameters
Parameter | Details |
---|---|
[Common Parameters] | For a complete listing, see Common parameters. |
Response Properties
Property | Details |
---|---|
username | The username of the given user. |
id | The ID of the user. |
fullName | The user's full name. |
availableCredits | The number of credits available to the user. |
assignedCredits | The number of credits allocated to the user. |
firstName | The user's first name. |
lastName | The user's last name. |
preferredView | The user's preferred view for content, either web or GIS. |
description | A description of the user. |
The user's e-mail address. | |
idpUsername | The original username if using enterprise logins. |
favGroupId | The user's favorites group and is created automatically for each user. |
lastLogin | The last login date of the user. |
mfaEnabled | Indicates if the user's account has multifactor authentication set up. |
access | Indicates the level of access of the user: private, org, or public. If private, the user descriptive information will not be available to others nor will the username be searchable. |
storageUsage | The total storage used by the user's organization or subscription in Byte. |
storageQuota | The total storage amount allowed for the user's organization or subscription in Byte. Usually 2TB for organization, 2GB for non-organization. |
orgId | The ID of the organization the user belongs to. |
role | Defines the user's role in the organization. Values: org_admin (organization administrator or custom role with administrative privileges) | org_publisher (organization publisher or custom role with publisher privileges) | org_user (organization user or custom role with user privileges) |
privileges | A JSON array of strings with predefined permissions in each. For a complete listing, see Privileges. |
roleId | (Optional) The ID of the user's role if it is a custom one. |
userLicenseTypeId | The user's user license type ID. |
disabled | Disables access to the organization by the user. |
units | User-defined units for measurement. |
tags | User-defined tags that describe the user. |
culture | The user locale information (language and country). |
cultureFormat | The user preferred number and date format defined in CLDR (only applicable for English and Spanish, i.e. when culture is en or es). See Languages for supported formats. It will inherit from organization cultureFormat if undefined. |
region | The user preferred region, used to set the featured maps on the home page, content in the gallery, and the default extent of new maps in the Viewer. |
thumbnail | The file name of the thumbnail used for the user. All user thumbnails are relative to the URL https://<community-url>/users/<userName>/info. |
created | The date the user was created. Shown in UNIX time. |
modified | The date the user was last modified. Shown in UNIX time. |
groups | A JSON array of groups the user belongs to. See Group for properties of a group. |
provider | The identity provider for the organization. This was added at Portal for ArcGIS 10.3.1. Values: arcgis (for built-in users) | enterprise (for external users managed by an enterprise identity store) | facebook | google | apple | github |
JSON Response Syntax
{
"username": "<username>",
"id": "<user id>",
"fullName": "<first name> <last name>",
"availableCredits": <available credits>,
"assignedCredits": <allocated credits>,
"firstName": "<first name>",
"lastName": "<last name>",
"preferredView": "Web" | "GIS" | null,
"description": "<description>",
"email": "<email address>",
"idpUsername": "<username>",
"favGroupId": "<group id>",
"lastLogin": <dateofuserlastloginshowninUNIXtime>,
"mfaEnabled": true | false,
"access": "private" | "org" | "public",
"storageUsage": <storageused-bytes>,
"storageQuota": <storagequota-bytes>,
"orgId": "<organizationid>",
"role": "org_admin" | "org_publisher" | "org_user",
"privileges": [
"<privilege1>",
"<privilege2>",
"<privilege3>"
...
],
"roleId": "<role ID>",
"userLicenseTypeId": "<user license type ID>",
"disabled": true | false,
"units": "english" | "metric",
"tags": [
"<tag1>",
"<tag2>"
],
"culture": "<culturecode>",
"cultureFormat": "<num and date format>",
"region": "<region>",
"thumbnail": "<filename>",
"created": <datecreatedshowninUNIXtime>,
"modified": <datemodifiedshowninUNIXtime>,
"provider": "arcgis" | "enterprise" | "facebook" | "google" | "apple" | "github",
"groups": [
{
"id": "<groupid>",
"title": "<grouptitle>",
"isInvitationOnly": "true|false",
"owner": "<groupownerusername>",
"description": "<description>",
"snippet": "<summary>",
"tags": [
"<tag1>",
"<tag2>",
"<tag3>"
],
"phone": "<contact>",
"thumbnail": "<filename>",
"created": "datecreatedshowninUNIXtime",
"modified": "datemodifiedshowninUNIXtime",
"access": "private|org|public",
"userMembership": {
"username": "<username>",
"memberType": "<owner>",
"applications": 0
}
}
]
}
JSON Response Example
{
"username": "jsmith",
"id": "61e2ab78ff17b5fda94a8a212ba5df10",
"fullName": "John Smith",
"availableCredits": 479.50998,
"assignedCredits": 500.0,
"firstName": "John",
"lastName": "Smith",
"preferredView": "Web",
"description": "Senior GIS Analyst for the city of Redlands. ",
"email": "jsmith33@esri.com",
"idpUsername": "null",
"favGroupId": "829e32cca4dd475a8bb63bb56b16fe3e",
"lastLogin": 1385766284000,
"mfaEnabled": false,
"access": "public",
"storageUsage": 3090822368,
"storageQuota": 2199023255552,
"orgId": "qWAReEOCnD7eTxOe",
"role": "org_admin",
"privileges": [
"portal:admin:deleteItems",
"portal:admin:reassignItems",
"portal:admin:updateItems",
"portal:admin:viewItems",
"portal:admin:viewUsers",
"portal:user:createGroup",
"portal:user:createItem",
"portal:user:joinGroup",
"portal:user:shareToGroup",
"portal:user:shareToOrg"
],
"roleId": "RDnHQBSBbsJuIkUp",
"userLicenseTypeId": "creatorUT",
"disabled": false,
"units": "metric",
"tags": [
"GIS Analyst",
"City of Redlands"
],
"culture": "en",
"cultureFormat": "us",
"region": "US",
"thumbnail": "myProfile.jpg",
"created": 1258501046000,
"modified": 1290625562000,
"provider": "enterprise",
"groups": [
{
"id": "0657d48d0c0841d793ea6ada2e6955f3",
"title": "Street Maps",
"isInvitationOnly": false,
"owner": "jsmith",
"description": "The street map group provides street maps for the city of Redlands.",
"snippet": "City of Redlands maps",
"tags": [
"Redlands",
"street",
"maps"
],
"phone": "https://www.esri.com",
"thumbnail": "streets.jpg",
"created": 1258501221000,
"modified": 1272309404000,
"access": "org",
"userMembership": {
"username": "jsmith",
"memberType": "owner",
"applications": 0
}
}
]
}