Display Current Login User Profile Picture In Lightning Component

Lightning Component

Hi guys, today in this post we are going to learn how we can show current login user profile image dynamically in salesforce lightning component. this component can be useful for lightning communities where we need to display custom current login user profile picture.


Apex Controller  : loginUserProfileCtrl.apxc

Lightning Component : loginUserPicture.cmp

JavaScript Controller : loginUserPictureController.js

Lightning Application [output.app]

Lightning Component Output :


Happy Learning 

Like our facebook page for new post updates.? & Don’t forget to bookmark this site for your future reference.

Check Out Also : Formula Fields to Display Images From Files/Content Documents – Salesforce Lightning/Classic

(Visited 2,010 times, 8 visits today)

Leave a Reply