GET api/System/authenticationSetting

Get authenticatin setting.

Request Information

URI Parameters

None.

Body Parameters

None.

Response Information

Resource Description

Get authenticatin setting.

API_Data_AuthenticationSetting
NameDescriptionTypeAdditional information
Success

boolean

None.

Error

ErrorInfo

None.

Data

AuthenticationSetting

None.

Response Formats

application/json, text/json

Sample:
{
  "Success": true,
  "Error": {
    "ErrorCode": 1,
    "ErrorMessage": "sample string 1"
  },
  "Data": {
    "SupportDevsuiteAuthentication": true,
    "SupportLDAPAuthentication": true,
    "LDAPServers": [
      {
        "Id": 1,
        "Name": "sample string 2"
      },
      {
        "Id": 1,
        "Name": "sample string 2"
      }
    ],
    "ForbidSampleUserLoginDirectly": true
  }
}

application/xml, text/xml

Sample:
<API_Data_AuthenticationSetting xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Common">
  <Data xmlns:d2p1="http://schemas.datacontract.org/2004/07/TechExcel.DTKService.Model.Entities">
    <d2p1:ForbidSampleUserLoginDirectly>true</d2p1:ForbidSampleUserLoginDirectly>
    <d2p1:LDAPServers>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
      <NameIdPair>
        <Id>1</Id>
        <Name>sample string 2</Name>
      </NameIdPair>
    </d2p1:LDAPServers>
    <d2p1:SupportDevsuiteAuthentication>true</d2p1:SupportDevsuiteAuthentication>
    <d2p1:SupportLDAPAuthentication>true</d2p1:SupportLDAPAuthentication>
  </Data>
  <Error>
    <ErrorCode>1</ErrorCode>
    <ErrorMessage>sample string 1</ErrorMessage>
  </Error>
  <Success>true</Success>
</API_Data_AuthenticationSetting>