SystemWebService.SetSsoServer Method 

Sets Single Sign-On (SSO) server URL and enables SSO support.

[C#]
public SsoRegisterResult SetSsoServer(
   string ssoUrl
);

Parameters

ssoUrl
A string contains the SSO server URL.

Return Value

SsoRegisterResult that provides details of the operation result.

Access

Role Access/rights description
Administrator Unrestricted access to SSO configuration.
Reseller, SiteOwner, Anonymous user No access. SOAP fault detail SWsoft.SiteBuilder.BO.Facade.SecurityException will be returned.

Example SOAP 1.1

Request
POST /wsb/ServiceFacade/4.1/SystemWebService.asmx HTTP/1.1
Host: localhost
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://swsoft.com/webservices/sb/4.1/SystemService/SetSsoServer"

<?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:Header>
    <CredentialsSoapHeader xmlns="http://swsoft.com/webservices/sb/4.1/SystemService">
      <SsoSessionId>string</SsoSessionId>
      <SsoId>string</SsoId>
      <Login>string</Login>
      <Password>string</Password>
    </CredentialsSoapHeader>
  </soap:Header>
  <soap:Body>
    <SetSsoServer xmlns="http://swsoft.com/webservices/sb/4.1/SystemService">
      <ssoUrl>string</ssoUrl>
    </SetSsoServer>
  </soap:Body>
</soap:Envelope>
Response
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>
    <SetSsoServerResponse xmlns="http://swsoft.com/webservices/sb/4.1/SystemService">
      <SetSsoServerResult>ServerChanged or Registered or Unregistered or IncorrectServer</SetSsoServerResult>
    </SetSsoServerResponse>
  </soap:Body>
</soap:Envelope>

See Also

SystemWebService Web Service | Web services