- URL:
- https://<root>/security/users/add
- Methods:
POST
- Required Capability:
- Access allowed with either the "Update", "Delete", "Security and Infrastructure", or "Servers" privileges
- Version Introduced:
- 10.1
Description
The add
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 Server store. If the username for the account you're attempting to add already exists in the user store, an error will be returned.
Request parameters
Parameter | Details |
---|---|
| The name of the user. The name must be unique in the user store. Example
|
| The password for this user. Example
|
(Optional) | The full name for the user. Example
|
(Optional) | Adds comments or description for the user account. Example
|
(Optional) | An email for the user account. Example
|
| The response format. The default response format is Values: |
Example usage
The following is a sample POST request for the add
operation:
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=pjson
JSON Response example
{"status": "success"}