Package com.sforce.soap.partner.wsc

Examples of com.sforce.soap.partner.wsc.GetUserInfoResult


                    String serverUrl = changeServer(loginResult.getServerUrl(), forceProject.getEndpointServer());
                    setToolingServerUrl(getToolingServiceEndpoint(serverUrl));
                }
            } else {
                // With a sessionId, use the getUserInfo to obtain the relevant information, then construct the other endpoints
                GetUserInfoResult userInfoResult = getPartnerConnection().getUserInfo();
                setProfileId(userInfoResult.getProfileId());
                setOrgId(userInfoResult.getOrganizationId());
                setMetadataServerUrl(getMetadataServiceEndpoint(getPartnerConnection().getConfig().getServiceEndpoint()));
                setToolingServerUrl(getToolingServiceEndpoint(getPartnerConnection().getConfig().getServiceEndpoint()));
            }

            // set for re-login to handle expired connections
View Full Code Here

TOP

Related Classes of com.sforce.soap.partner.wsc.GetUserInfoResult

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.