
Sample Request Message-getUserInfo Call-Enterprise API
POST https://na1.salesforce.com/services/Soap/c/10.0 HTTP/1.1 User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; MS Web Services Client Protocol 1.1.4322.573) Content-Type: text/xml; charset=utf-8 SOAPAction: "" Content-Length: 510 Expect: 100-continue Host: na1.salesforce.com <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:urn="urn:enterprise.soap.sforce.com"> <soapenv:Header> <urn:SessionHeader> <urn:sessionId>QwWsHJyTPW.1pd0_jXlNKOSU</urn:sessionId> </urn:SessionHeader> </soapenv:Header> <soapenv:Body> <urn:getUserInfo /> </soapenv:Body> </soapenv:Envelope>
Sample Response Message-getUserInfo Call-Enterprise API
HTTP/1.1 200 OK Server: sfdc Content-Type: text/xml; charset=utf-8 Transfer-Encoding: chunked Date: Tue, 29 May 2007 22:57:45 GMT <?xml version="1.0" encoding="utf-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns="urn:enterprise.soap.sforce.com"> <soapenv:Body> <getUserInfoResponse> <result> <accessibilityMode>false</accessibilityMode> <currencySymbol>$</currencySymbol> <organizationId>00DD0000000EEW9MAO</organizationId> <organizationMultiCurrency>false</organizationMultiCurrency> <organizationName>Acme</organizationName> <profileId>00eD0000000v3qnIAA</profileId> <roleId xsi:nil="true"/> <userDefaultCurrencyIsoCode xsi:nil="true"/> <userEmail>jsmith@acme.com</userEmail> <userFullName>John Smith</userFullName> <userId>005D0000000nWYVIA2</userId> <userLanguage>en_US</userLanguage> <userLocale>en_US</userLocale> <userName>jsmith@acme.com</userName> <userTimeZone>America/Los_Angeles</userTimeZone> <userType>Standard</userType> <userUiSkin>Theme2</userUiSkin> </result> </getUserInfoResponse> </soapenv:Body> </soapenv:Envelope>