get the logged in user email in apex salesforce - Salesforce Globe For You
Solution: Use UserInfo.getUserEmail() to get the logged in user email.
Code:
String strLoggedInUserEmail = UserInfo.getUserEmail();
system.debug('Logged in User Email: '+strLoggedInUserEmail);
No comments:
Post a Comment