Skip To Content
ArcGIS Developers
Dashboard

Add User

Description

This operation adds a user account to the user store. This is available only when the user store is a read-write store such as the default ArcGIS Serverstore. If the name of the user exists in the user store, an error will be returned.

Request parameters

ParameterDetails
username

The name of the user. The name must be unique in the user store.

Example

username=jwhite
password

The password for this user.

Example

password=secret
fullname

(Optional)

The full name for the user.

Example

fullname=John White
description

(Optional)

Adds comments or description for the user account.

Example

description=A platinum customer
email

(Optional)

An email for the user account.

Example

email=jwhite@email.com
f

The response format. The default response format is html.

Values: html | json | pjson

Example usage

Below is a sample POST request for add:

POST /webadaptor/admin/security/users/add HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

username=jwhite&password=secret&fullname=John White&description=A platinum customer&email=jwhite@email.com&f=json

The operation parameters can also be provided in JSON format and submitted as a value to the user parameter.

user={
  "username": "<username>",
  "password": "<password>",
  "fullname": "<fullname>",
  "description": "<description>",
  "email": "<email>"
}

JSON Response example

{"status": "success"}