How Can You Display The Salesforce Session ID In The Apex Debug Log?
You’re likely familiar with the UserInfo.getSessionId() method in Apex, commonly used for making Webservice calls. However, displaying it for external use can be challenging. When debugging, the log will typically output: Even if you concatenate a string to it, you will consistently receive the SESSION_ID_REMOVED. However, upon researching online, I discovered a solution that proves …
How Can You Display The Salesforce Session ID In The Apex Debug Log? Read More »