UsersService


Click here for a complete list of operations.

SSOCheckLogin

Test

To test the operation using the HTTP POST protocol, click the 'Invoke' button.
Parameter Value
sWSUserName:
sWSPassword:
sUserName:
nSSOProviderID:

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 /restful_v5_2_8/ws_users_module.asmx HTTP/1.1
Host: kbcsony.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://users.tvinci.com/SSOCheckLogin"

<?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>
    <SSOCheckLogin xmlns="http://users.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <sUserName>string</sUserName>
      <nSSOProviderID>int</nSSOProviderID>
    </SSOCheckLogin>
  </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>
    <SSOCheckLoginResponse xmlns="http://users.tvinci.com/">
      <SSOCheckLoginResult>
        <m_user>
          <m_oBasicData>
            <m_sFirstName>string</m_sFirstName>
            <m_sLastName>string</m_sLastName>
            <m_sUserName>string</m_sUserName>
            <m_sEmail>string</m_sEmail>
            <m_sAddress>string</m_sAddress>
            <m_sCity>string</m_sCity>
            <m_Country xsi:nil="true" />
            <m_sZip>string</m_sZip>
            <m_sPhone>string</m_sPhone>
            <m_sFacebookID>string</m_sFacebookID>
            <m_sFacebookImage>string</m_sFacebookImage>
            <m_sFacebookToken>string</m_sFacebookToken>
            <m_sAffiliateCode>string</m_sAffiliateCode>
            <m_CoGuid>string</m_CoGuid>
            <m_UserType xsi:nil="true" />
            <RoleIds xsi:nil="true" />
            <CreateDate>dateTime</CreateDate>
            <UpdateDate>dateTime</UpdateDate>
            <LastLoginDate>dateTime</LastLoginDate>
            <FailedLoginCount>int</FailedLoginCount>
            <m_State xsi:nil="true" />
            <m_bIsFacebookImagePermitted>boolean</m_bIsFacebookImagePermitted>
            <m_ExternalToken>string</m_ExternalToken>
            <m_sTwitterToken>string</m_sTwitterToken>
            <m_sTwitterTokenSecret>string</m_sTwitterTokenSecret>
          </m_oBasicData>
          <m_domianID>int</m_domianID>
          <m_sSiteGUID>string</m_sSiteGUID>
          <m_isDomainMaster>boolean</m_isDomainMaster>
          <m_oDynamicData>
            <m_sUserData xsi:nil="true" />
            <UserId>int</UserId>
          </m_oDynamicData>
          <m_eUserState>Unknown or Activated or SingleSignIn or DoubleSignIn or LoggedOut</m_eUserState>
          <m_eSuspendState>OK or Suspended</m_eSuspendState>
          <m_nSSOOperatorID>int</m_nSSOOperatorID>
          <IsActivationGracePeriod>boolean</IsActivationGracePeriod>
        </m_user>
        <m_RespStatus>OK or UserExists or UserDoesNotExist or WrongPasswordOrUserName or InsideLockTime or NotImplementedYet or UserNotActivated or UserAllreadyLoggedIn or UserDoubleLogIn or SessionLoggedOut or DeviceNotRegistered or ErrorOnSendingMail or UserEmailAlreadyExists or ErrorOnUpdatingUserType or UserTypeNotExist or UserNotMasterApproved or ErrorOnInitUser or ErrorOnSaveUser or UserNotIndDomain or TokenNotFound or UserAlreadyMasterApproved or UserWithNoDomain or InternalError or LoginServerDown or UserSuspended or UserCreatedWithNoRole or ExternalIdAlreadyExists or ExternalError or PasswordPolicyViolation or PasswordExpired</m_RespStatus>
        <m_userInstanceID>string</m_userInstanceID>
        <ExternalCode>int</ExternalCode>
        <ExternalMessage>string</ExternalMessage>
      </SSOCheckLoginResult>
    </SSOCheckLoginResponse>
  </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 /restful_v5_2_8/ws_users_module.asmx HTTP/1.1
Host: kbcsony.com
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>
    <SSOCheckLogin xmlns="http://users.tvinci.com/">
      <sWSUserName>string</sWSUserName>
      <sWSPassword>string</sWSPassword>
      <sUserName>string</sUserName>
      <nSSOProviderID>int</nSSOProviderID>
    </SSOCheckLogin>
  </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>
    <SSOCheckLoginResponse xmlns="http://users.tvinci.com/">
      <SSOCheckLoginResult>
        <m_user>
          <m_oBasicData>
            <m_sFirstName>string</m_sFirstName>
            <m_sLastName>string</m_sLastName>
            <m_sUserName>string</m_sUserName>
            <m_sEmail>string</m_sEmail>
            <m_sAddress>string</m_sAddress>
            <m_sCity>string</m_sCity>
            <m_Country xsi:nil="true" />
            <m_sZip>string</m_sZip>
            <m_sPhone>string</m_sPhone>
            <m_sFacebookID>string</m_sFacebookID>
            <m_sFacebookImage>string</m_sFacebookImage>
            <m_sFacebookToken>string</m_sFacebookToken>
            <m_sAffiliateCode>string</m_sAffiliateCode>
            <m_CoGuid>string</m_CoGuid>
            <m_UserType xsi:nil="true" />
            <RoleIds xsi:nil="true" />
            <CreateDate>dateTime</CreateDate>
            <UpdateDate>dateTime</UpdateDate>
            <LastLoginDate>dateTime</LastLoginDate>
            <FailedLoginCount>int</FailedLoginCount>
            <m_State xsi:nil="true" />
            <m_bIsFacebookImagePermitted>boolean</m_bIsFacebookImagePermitted>
            <m_ExternalToken>string</m_ExternalToken>
            <m_sTwitterToken>string</m_sTwitterToken>
            <m_sTwitterTokenSecret>string</m_sTwitterTokenSecret>
          </m_oBasicData>
          <m_domianID>int</m_domianID>
          <m_sSiteGUID>string</m_sSiteGUID>
          <m_isDomainMaster>boolean</m_isDomainMaster>
          <m_oDynamicData>
            <m_sUserData xsi:nil="true" />
            <UserId>int</UserId>
          </m_oDynamicData>
          <m_eUserState>Unknown or Activated or SingleSignIn or DoubleSignIn or LoggedOut</m_eUserState>
          <m_eSuspendState>OK or Suspended</m_eSuspendState>
          <m_nSSOOperatorID>int</m_nSSOOperatorID>
          <IsActivationGracePeriod>boolean</IsActivationGracePeriod>
        </m_user>
        <m_RespStatus>OK or UserExists or UserDoesNotExist or WrongPasswordOrUserName or InsideLockTime or NotImplementedYet or UserNotActivated or UserAllreadyLoggedIn or UserDoubleLogIn or SessionLoggedOut or DeviceNotRegistered or ErrorOnSendingMail or UserEmailAlreadyExists or ErrorOnUpdatingUserType or UserTypeNotExist or UserNotMasterApproved or ErrorOnInitUser or ErrorOnSaveUser or UserNotIndDomain or TokenNotFound or UserAlreadyMasterApproved or UserWithNoDomain or InternalError or LoginServerDown or UserSuspended or UserCreatedWithNoRole or ExternalIdAlreadyExists or ExternalError or PasswordPolicyViolation or PasswordExpired</m_RespStatus>
        <m_userInstanceID>string</m_userInstanceID>
        <ExternalCode>int</ExternalCode>
        <ExternalMessage>string</ExternalMessage>
      </SSOCheckLoginResult>
    </SSOCheckLoginResponse>
  </soap12:Body>
</soap12:Envelope>

HTTP POST

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

POST /restful_v5_2_8/ws_users_module.asmx/SSOCheckLogin HTTP/1.1
Host: kbcsony.com
Content-Type: application/x-www-form-urlencoded
Content-Length: length

sWSUserName=string&sWSPassword=string&sUserName=string&nSSOProviderID=string
HTTP/1.1 200 OK
Content-Type: text/xml; charset=utf-8
Content-Length: length

<?xml version="1.0" encoding="utf-8"?>
<UserResponseObject xmlns="http://users.tvinci.com/">
  <m_user>
    <m_oBasicData>
      <m_sFirstName>string</m_sFirstName>
      <m_sLastName>string</m_sLastName>
      <m_sUserName>string</m_sUserName>
      <m_sEmail>string</m_sEmail>
      <m_sAddress>string</m_sAddress>
      <m_sCity>string</m_sCity>
      <m_Country>
        <m_nObjecrtID>int</m_nObjecrtID>
        <m_sCountryName>string</m_sCountryName>
        <m_sCountryCode>string</m_sCountryCode>
      </m_Country>
      <m_sZip>string</m_sZip>
      <m_sPhone>string</m_sPhone>
      <m_sFacebookID>string</m_sFacebookID>
      <m_sFacebookImage>string</m_sFacebookImage>
      <m_sFacebookToken>string</m_sFacebookToken>
      <m_sAffiliateCode>string</m_sAffiliateCode>
      <m_CoGuid>string</m_CoGuid>
      <m_UserType>
        <ID>int</ID>
        <Description>string</Description>
        <IsDefault>boolean</IsDefault>
      </m_UserType>
      <RoleIds>
        <long>long</long>
        <long>long</long>
      </RoleIds>
      <CreateDate>dateTime</CreateDate>
      <UpdateDate>dateTime</UpdateDate>
      <LastLoginDate>dateTime</LastLoginDate>
      <FailedLoginCount>int</FailedLoginCount>
      <m_State>
        <m_nObjecrtID>int</m_nObjecrtID>
        <m_sStateName>string</m_sStateName>
        <m_sStateCode>string</m_sStateCode>
        <m_Country d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </m_State>
      <m_bIsFacebookImagePermitted>boolean</m_bIsFacebookImagePermitted>
      <m_ExternalToken>string</m_ExternalToken>
      <m_sTwitterToken>string</m_sTwitterToken>
      <m_sTwitterTokenSecret>string</m_sTwitterTokenSecret>
    </m_oBasicData>
    <m_domianID>int</m_domianID>
    <m_sSiteGUID>string</m_sSiteGUID>
    <m_isDomainMaster>boolean</m_isDomainMaster>
    <m_oDynamicData>
      <m_sUserData>
        <UserDynamicDataContainer d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
        <UserDynamicDataContainer d5p1:nil="true" xmlns:d5p1="http://www.w3.org/2001/XMLSchema-instance" />
      </m_sUserData>
      <UserId>int</UserId>
    </m_oDynamicData>
    <m_eUserState>Unknown or Activated or SingleSignIn or DoubleSignIn or LoggedOut</m_eUserState>
    <m_eSuspendState>OK or Suspended</m_eSuspendState>
    <m_nSSOOperatorID>int</m_nSSOOperatorID>
    <IsActivationGracePeriod>boolean</IsActivationGracePeriod>
  </m_user>
  <m_RespStatus>OK or UserExists or UserDoesNotExist or WrongPasswordOrUserName or InsideLockTime or NotImplementedYet or UserNotActivated or UserAllreadyLoggedIn or UserDoubleLogIn or SessionLoggedOut or DeviceNotRegistered or ErrorOnSendingMail or UserEmailAlreadyExists or ErrorOnUpdatingUserType or UserTypeNotExist or UserNotMasterApproved or ErrorOnInitUser or ErrorOnSaveUser or UserNotIndDomain or TokenNotFound or UserAlreadyMasterApproved or UserWithNoDomain or InternalError or LoginServerDown or UserSuspended or UserCreatedWithNoRole or ExternalIdAlreadyExists or ExternalError or PasswordPolicyViolation or PasswordExpired</m_RespStatus>
  <m_userInstanceID>string</m_userInstanceID>
  <ExternalCode>int</ExternalCode>
  <ExternalMessage>string</ExternalMessage>
</UserResponseObject>