Skip To Content
ArcGIS Developers
Dashboard

Test Identity Store

Description

This operation can be used to test the connection to a user or group store.

Request parameters

ParametersDetails
userStoreConfig

Specifies the user store properties. This operations accepts as input all the parameters as defined for the Update Identity Store operation.

Example

userStoreConfig={
  "type": "WINDOWS",
  "properties": {
    "isPasswordEncrypted": "true"
  }
}
groupStoreConfig

Specifies the group store properties. This operations accepts as input all the parameters as defined for the Update Identity Store operation.

Example

groupStoreConfig={
  "type": "WINDOWS",
  "properties": {
    "isPasswordEncrypted": "true"
  }
}
f

The response format. The default is html.

Values: html | json | pjson

Example usage

Below is a sample request URL for testIdentityStore, formatted for readability:

POST /webadaptor/portaladmin/security/config/testIdentityStore HTTP/1.1
Host: machine.domain.com
Content-Type: application/x-www-form-urlencoded
Content-Length: []

userStoreConfig={
  "type": "WINDOWS",
  "properties": {
    "userPassword": "secret",
    "isPasswordEncrypted": "false",
    "user": "mydomain\\winaccount",
    "userFullnameAttribute": "displayName",
    "userEmailAttribute": "mail",
    "userGivenNameAttribute": "givenName",
    "userSurnameAttribute": "sn",
    "caseSensitive": "false"
  }
}&groupStoreConfig={
  "type": "WINDOWS",
  "properties": {
    "isPasswordEncrypted": "true"
  }
}&f=json

JSON Response example

{"status": "success"}