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
sfdcchampionssfdcchampions 

InstallHandler Userinfo.getSessionId() is null

Manage Package creates a schedule job using InstallHandler class. Now this schedule job is created from a ghost user and here we need sessionid to get a report related records.But the issue is the Userinfo.getSessionId() is returnign null. 
ShashankShashank (Salesforce Developers) 
Please see if this article explains it: https://help.salesforce.com/apex/HTViewSolution?urlname=Guest-user-session-id-returned-NULL-in-UserInfo-getSessionId-starting-Winter-15&language=en_US
ShashankShashank (Salesforce Developers) 
Actually, this may be a more useful one: http://salesforce.stackexchange.com/questions/32607/installhandler-runs-under-a-special-ghost-user-what-rights-does-it-have