How to get the salesforce Current User’s Session Id in One Click
There can be a number of ways how you can get Current User’s Session ID. Below are the easy ways you can get the Session ID in salesforce.
- Book mark this below piece of code in your browser and just click on it once you logged into salesforce Org.
Code:
- Execute below piece of code in console to get the Current User Session ID.
Code:
- Use this Chrome Extension to get the Salesforce Session Id:
Link: https://github.com/tiaanswart/GetSFSessionID
To install this extension you need to enable the developer mode in your Chrome as it is not listed in Chrome Webstore.
- Clone this repo to your PC or download the source zip file
- If you downloaded the zip file, extract it
- From the Chrome Browser navigate to extensions
- Enable developer mode (checkbox)
- Click load unpackaged extension
- Navigate to the repo you cloned or archive you extracted on your PC
- Select the folder
Voila, you are just one click away in getting the session Id of the current user.
Thanks for reading. Please drop a comment if you know any other easy way to get the session ID in salesforce.
Comments
1 Comment
[…] In addition to the above-mentioned chrome extensions to get the sessionId, I have written a separate blog here. […]
Leave a Comment