You need to sign in to do that
Don't have an account?
Sai Teja 7557
How to differentiate between the logged in User vs Guest User on Experience Cloud sites(communities)
I have a visualforce page, which is published on communitis(public page),once they opened the page we are taking some inputs and creating the user with those details and redirecting to the login page and asking to login. once they login we need to open the same visualforce page and need to show other fields for entering the inputs.
"So here we need to apply some conditions to render some fields for guest user and some other fields for logged in user."
My Question is there any way to identify the the page viewer is guest user or logged in user..
"So here we need to apply some conditions to render some fields for guest user and some other fields for logged in user."
My Question is there any way to identify the the page viewer is guest user or logged in user..
You can try below code to check.
https://salesforce.stackexchange.com/questions/1987/how-to-tell-if-a-user-is-authenticated-in-a-sites-visualforce-page
Thanks,