Code -
String sessionID = UserInfo.getSessionId();
System.debug(sessionID);
Should give me Session ID, Urgent as I require it for use in SOAP UI. Is there any workaround
Salesforce Stack Exchange is a question and answer site for Salesforce administrators, implementation experts, developers and anybody in-between. It only takes a minute to sign up.
Sign up to join this communityCode -
String sessionID = UserInfo.getSessionId();
System.debug(sessionID);
Should give me Session ID, Urgent as I require it for use in SOAP UI. Is there any workaround
Yes, it has workaround to see sessionId in Debug Logs:
system.debug(UserInfo.getOrganizationId() + UserInfo.getSessionId().substring(15));
Since first 15 characters of session id is organization id, and debug logs perfectly show parts of session id string.