How to find whether impersonated as a user using “Log in to Experience as User” in Salesforce?
Visualforce Page: <apex:page controller=”CommunityPageController”> Logged in As User? {!loggedInAsUserBool} </apex:page> Apex Controller: public class CommunityPageController { public Boolean loggedInAsUserBool { get; set; } public CommunityPageController() { loggedInAsUserBool = false; Map < String, … Continue reading How to find whether impersonated as a user using “Log in to Experience as User” in Salesforce?
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed