Activity › Forums › Salesforce® Discussions › what is use of UserInfo.getSessionId() ? Salesforce® Discussions what is use of UserInfo.getSessionId() ? Posted by Ayush on May 28, 2020 at 10:23 AM what is use of UserInfo.getSessionId() ? Kirandeep replied 6 years ago 3 Members · 2 Replies 2 Replies Deepak Member May 28, 2020 at 11:42 AM UserInfo.getSessionId() is used to pass the session id to the class that call http and process the data in external applications. [adinserter block='9'] Kirandeep Member May 28, 2020 at 12:19 PM getSessionId() is method of UserInfo Class which Returns the session ID for the current session. Log In to reply. Public All Members My Connections Only Me PublicAll MembersMy ConnectionsOnly Me Public All Members My Connections Only Me