How to find whether impersonated as a user using “Log in to Experience as User” in Salesforce?
Visualforce Page: Apex Controller: Logged in As Experience User(without impersonation): Admin Logged in As Experience User(with impersonation): For LWC(Lighting Web Component), check the following.
Copy and paste this URL into your WordPress site to embed
Copy and paste this code into your site to embed