doesUserExist

Last modified on September 11, 2023 at 5:37 pm

This service simply checks to see whether or not a user with the given username exists in the DigitalChalk system.

Request Elements

authSee above
usernameThe username of the user to check (this will be an email address if your organization does not use usernames).
<?xml version="1.0" encoding="UTF-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:dcAPI="http://digitalchalk.com/api/v4">
  <soap:Body>
    <dcAPI:doesUserExistRequest>
      <dcAPI:auth>
        <dcAPI:accessKey>?</dcAPI:accessKey>
        <dcAPI:timestamp>?</dcAPI:timestamp>
        <dcAPI:signature>?</dcAPI:signature>
      </dcAPI:auth>
      <dcAPI:username>?</dcAPI:username>
    </dcAPI:doesUserExistRequest>
  </soap:Body>
</soap:Envelope>

Response Elements

exists“true” if the user exists, “false” if the user does not exist
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">
  <SOAP-ENV:Header/>
  <SOAP-ENV:Body>
    <dcAPI:doesUserExistResponse xmlns:dcAPI="http://digitalchalk.com/api/v4">
      <dcAPI:exists>?</dcAPI:exists>
    </dcAPI:doesUserExistResponse>
  </SOAP-ENV:Body>
</SOAP-ENV:Envelope>