Created
August 21, 2018 09:36
-
-
Save choudharymanish8585/4ffe0e7c8983cd0ecca2397886633637 to your computer and use it in GitHub Desktop.
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
public class StreamingApiController { | |
/** | |
* This method returns signed in user's session id | |
* @author Manish Choudhari | |
* */ | |
@AuraEnabled | |
public static String getSessionId() { | |
return UserInfo.getSessionId(); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment