Discovery.GetLiveIDSettings Method
This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This page may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
Get the Windows Live ID settings for a specified user.
Namespace: WebSvcDiscovery
Assembly: OfficeLive (in OfficeLive.dll)
Syntax
'Declaration
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/GetLiveIDSettings", RequestNamespace := "http://schemas.microsoft.com/officelive/soap/", _
ResponseNamespace := "http://schemas.microsoft.com/officelive/soap/", _
Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function GetLiveIDSettings As LiveIDSettings
'Usage
Dim instance As Discovery
Dim returnValue As LiveIDSettings
returnValue = instance.GetLiveIDSettings()
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/officelive/soap/GetLiveIDSettings", RequestNamespace = "http://schemas.microsoft.com/officelive/soap/",
ResponseNamespace = "http://schemas.microsoft.com/officelive/soap/",
Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public LiveIDSettings GetLiveIDSettings()
Return Value
Type: WebSvcDiscovery.LiveIDSettings
This method returns an instance of the LiveIDSettings class.
Remarks
This method gets and returns Windows Live ID settings to construct a Windows Live ID ticket for subsequent calls. There is no authentication required.
Examples
The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values.
POST /discoverywebsvc/discovery.asmx HTTP/1.1
Host: apis.officelive.com
Content-Type: text/xml; charset=utf-8
Content-Length: length
SOAPAction: "http://schemas.microsoft.com/officelive/soap/GetLiveIDSettings"
<?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>
<GetLiveIDSettings xmlns="http://schemas.microsoft.com/officelive/soap/" />
</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>
<GetLiveIDSettingsResponse xmlns="http://schemas.microsoft.com/officelive/soap/">
<GetLiveIDSettingsResult>
<Environment>string</Environment>
<SiteName>string</SiteName>
<Policy>string</Policy>
</GetLiveIDSettingsResult>
</GetLiveIDSettingsResponse>
</soap:Body>
</soap:Envelope>
The following is a sample SOAP 1.2 request and response. The placeholders shown need to be replaced with actual values.
POST /discoverywebsvc/discovery.asmx HTTP/1.1
Host: apis.officelive.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>
<GetLiveIDSettings xmlns="http://schemas.microsoft.com/officelive/soap/" />
</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>
<GetLiveIDSettingsResponse xmlns="http://schemas.microsoft.com/officelive/soap/">
<GetLiveIDSettingsResult>
<Environment>string</Environment>
<SiteName>string</SiteName>
<Policy>string</Policy>
</GetLiveIDSettingsResult>
</GetLiveIDSettingsResponse>
</soap12:Body>
</soap12:Envelope>