Created
October 18, 2018 02:08
-
-
Save choudharymanish8585/06d2e639250d4574093c9a66483852ca 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 RecordChangeCaptureLightningController { | |
@AuraEnabled | |
public static String getUserName(Id userId){ | |
User u = [SELECT Name FROM User WHERE Id=:userId]; | |
return u.Name; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment