Service


Click here for a complete list of operations.

CheckUserSettings

Test

The test form is only available for requests from the local machine.

SOAP 1.1

The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.

POST /Service.asmx HTTP/1.1
Host: www.drumlinsecurity.co.uk
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://drumlinsecurity.co.uk/CheckUserSettings"

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CheckUserSettings xmlns="http://drumlinsecurity.co.uk/">
      <nUserID>int</nUserID>
    </CheckUserSettings>
  </soap:Body>
</soap:Envelope>
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
  <soap:Body>
    <CheckUserSettingsResponse xmlns="http://drumlinsecurity.co.uk/">
      <CheckUserSettingsResult>
        <m_nID>int</m_nID>
        <m_sFirstName>string</m_sFirstName>
        <m_sFamilyName>string</m_sFamilyName>
        <m_username>base64Binary</m_username>
        <m_password>base64Binary</m_password>
        <m_sAddress1>string</m_sAddress1>
        <m_sAddress2>string</m_sAddress2>
        <m_sAddress3>string</m_sAddress3>
        <m_sPostcode>string</m_sPostcode>
        <m_sTown>string</m_sTown>
        <m_sRegion>string</m_sRegion>
        <m_sCountry>string</m_sCountry>
        <m_sTel>string</m_sTel>
        <m_sFax>string</m_sFax>
        <m_sMob>string</m_sMob>
        <m_sEmail1>string</m_sEmail1>
        <m_sEmail2>string</m_sEmail2>
        <m_sWeb>string</m_sWeb>
        <m_bGender>boolean</m_bGender>
        <m_nClientID>int</m_nClientID>
        <m_nUserType>int</m_nUserType>
        <m_WinID>base64Binary</m_WinID>
        <m_DiskID>base64Binary</m_DiskID>
        <m_sRegCode>string</m_sRegCode>
        <m_nCompanyID>int</m_nCompanyID>
        <m_nDepartmentID>int</m_nDepartmentID>
        <m_dtExpires>dateTime</m_dtExpires>
        <m_sOrganisation>string</m_sOrganisation>
        <m_ProhibitedDocs>
          <int>int</int>
          <int>int</int>
        </m_ProhibitedDocs>
        <m_nResult>int</m_nResult>
        <m_dtNow>dateTime</m_dtNow>
        <m_nMaxCodesPerDoc>int</m_nMaxCodesPerDoc>
        <m_nMinCodesPerDoc>int</m_nMinCodesPerDoc>
        <m_nMaxCodeCount>int</m_nMaxCodeCount>
      </CheckUserSettingsResult>
      <sError>string</sError>
    </CheckUserSettingsResponse>
  </soap:Body>
</soap:Envelope>

SOAP 1.2

The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.

POST /Service.asmx HTTP/1.1
Host: www.drumlinsecurity.co.uk
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CheckUserSettings xmlns="http://drumlinsecurity.co.uk/">
      <nUserID>int</nUserID>
    </CheckUserSettings>
  </soap12:Body>
</soap12:Envelope>
HTTP/1.1 200 OK
Content-Type: application/soap+xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<soap12:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap12="http://www.w3.org/2003/05/soap-envelope">
  <soap12:Body>
    <CheckUserSettingsResponse xmlns="http://drumlinsecurity.co.uk/">
      <CheckUserSettingsResult>
        <m_nID>int</m_nID>
        <m_sFirstName>string</m_sFirstName>
        <m_sFamilyName>string</m_sFamilyName>
        <m_username>base64Binary</m_username>
        <m_password>base64Binary</m_password>
        <m_sAddress1>string</m_sAddress1>
        <m_sAddress2>string</m_sAddress2>
        <m_sAddress3>string</m_sAddress3>
        <m_sPostcode>string</m_sPostcode>
        <m_sTown>string</m_sTown>
        <m_sRegion>string</m_sRegion>
        <m_sCountry>string</m_sCountry>
        <m_sTel>string</m_sTel>
        <m_sFax>string</m_sFax>
        <m_sMob>string</m_sMob>
        <m_sEmail1>string</m_sEmail1>
        <m_sEmail2>string</m_sEmail2>
        <m_sWeb>string</m_sWeb>
        <m_bGender>boolean</m_bGender>
        <m_nClientID>int</m_nClientID>
        <m_nUserType>int</m_nUserType>
        <m_WinID>base64Binary</m_WinID>
        <m_DiskID>base64Binary</m_DiskID>
        <m_sRegCode>string</m_sRegCode>
        <m_nCompanyID>int</m_nCompanyID>
        <m_nDepartmentID>int</m_nDepartmentID>
        <m_dtExpires>dateTime</m_dtExpires>
        <m_sOrganisation>string</m_sOrganisation>
        <m_ProhibitedDocs>
          <int>int</int>
          <int>int</int>
        </m_ProhibitedDocs>
        <m_nResult>int</m_nResult>
        <m_dtNow>dateTime</m_dtNow>
        <m_nMaxCodesPerDoc>int</m_nMaxCodesPerDoc>
        <m_nMinCodesPerDoc>int</m_nMinCodesPerDoc>
        <m_nMaxCodeCount>int</m_nMaxCodeCount>
      </CheckUserSettingsResult>
      <sError>string</sError>
    </CheckUserSettingsResponse>
  </soap12:Body>
</soap12:Envelope>