function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
SadishKSadishK 

UserInfo.getSessionId returns 'SESSION_ID_REMOVED'

Hi - I'm trying to run this script in my sandbox and getting "SESSION_ID_REMOVED" result
------
String sessionId = UserInfo.getSessionId();
system.debug('--- Session Id Value ---'+sessionId);
------
 
Gordon EngelGordon Engel
This was an intentional change in behavior that was deployed this week.  If you need to undo this change you can request to have it disabled for a maximum of two weeks.  Please file a case with Salesforce and reference W-3483424.
SadishKSadishK
Thanks Gordon Engel