Update User

Description

The Update User operation (POST only) modifies properties such as description, preferred view, tags, access, and thumbnail. The user name cannot be modified. For the "ecas" identity provider, password, e-mail, and full name must be modified by editing your Esri Global Account. For the "arcgis" identity provider, password, full name, security question, and security answer can be updated with Update User. Update User is available only to the user or to the administrator of the user's organization.

Only the properties that are to be updated need to be specified in the request. Properties not specified will not be affected.

Content Views

The portal provides the ability for the user to control the types of content that are presented. This information can then be used to filter certain types of content from search results or featured content. preferredView is the parameter that manages this.

The preferredView parameter allows the user to set the content view that is relevant to them. There are three types of views: Web, GIS, and null. The Web view means the client should return maps (for example, web maps and map services), applications, and tools. In addition to these types, the GIS view means the client should return ArcGIS maps (for example, map packages and map documents), layers, and tools.

Request Parameters

Parameter

Details

[Common Parameters

For a complete listing, see Common parameters.

clearEmptyFields

Clears any fields that are passed in empty (for example, description, tags).

[Update User Parameters]

For a complete listing of the available Update User parameters, see the User section of Common parameters.

Response Properties

Property

Details

success

Indicates if the operation was successful.

username

The username of the modified user.

Example Usage

URL for Update User

http://www.arcgis.com/sharing/rest/community/users/jsmith/update
preferredView=GIS
tags=GIS Analyst, Redlands

JSON Response Syntax

{
  "success": true | false,
  "username": "<username>"
}

JSON Response Example

{
  "success": true,
  "username": "jsmith"
}

3/3/2017