Last active
March 16, 2023 13:35
-
-
Save sudhakar6/cddcff41fcab10325ab6f901df8f87e2 to your computer and use it in GitHub Desktop.
Code to get session and login with session ID
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
code to get session id: | |
System.debug('&######## '+ UserInfo.getOrganizationId()+''+UserInfo.getSessionId().SubString(15)); | |
Login URL: <orgURL>/secur/frontdoor.jsp?sid=<orgSessionID> | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment