Is there any way to get the logged user information inside a lightning component? The lightning component displays an Iframe and I want
Seems that this is available in both Aura and LWC.
var userId = $A.get("$SObjectType.CurrentUser.Id");
import userId from '@salesforce/user/Id';
Then, because you have userId, you can use LDS or your custom Apex code to get the data about the