Lightning Web Component to find whether impersonated as a user using “Log in to Experience as User” in Salesforce Experience Cloud?
To check in Visualforce Page, check https://www.infallibletechie.com/2021/05/how-to-find-whether-impersonated-as.html Sample LWC Code: Apex Class: public with sharing class LoggedInUserCheckController { @AuraEnabled( cacheable = true ) public static ....