FRAMES | NO FRAMES Description | Parameters | Examples | Response
Create User (Operation)
URL http://<wmservice-url>/community/createUser
Parent Resource Community

Description

This operation is supported from 10.3.1 onwards.

Creates a new user.

Parameters

Parameter Details
f Description: The response format. The default response format is html.

Values: html | json
user Required
Description: The username of the person making the create user request. The person must have "AdministratorAccess" privilege.
properties Required
Description: A JSON object containing the user property values to create.

  • userName: Required The username to be created. If the database is using domain authentication, the username format is "domain\\username".
  • fullName: Required The full name of the new user.
  • firstName: Required The first name of the new user.
  • lastName: Required The last name of the new user.
  • email: The email of the new user.
  • address: The address of the new user.
  • zipCode: The zip code of the new user.
  • roomNumber: The room number of the new user.
  • phoneNumber: The phone number of the new user.
  • faxNumber: The fax number of the new user.

Syntax:

{
  "userName":"<userName>",
  "fullName":"<fullName>",
  "firstName":"<firstName>",
  "lastName":"<lastName>",
  "email":"<email>",
  "address":"<address>",
  "zipCode":"<zipCode>",
  "roomNumber":"<roomNumber>",
  "phoneNumber":"<phoneNumber>",
  "faxNumber":"<faxNumber>"
}

Example Usage

Example: URL for creating a new user called 'cjones' in the "Workflow" service on sampleserver. The user who makes the request is 'admin0000'. The new user's first name is Charlotte and last name is Jones.

http://sampleserver/arcgis/rest/services/Workflow/WMServer/community/createUser?user=admin0000&properties={"username":"cjones","fullname":"Charlotte+Jones","firstname":"Charlotte","lastname":"Jones"}&f=pjson

JSON Response Syntax

{ "success": true }

JSON Response Example

{ "success": true }