You need to sign in to do that
Don't have an account?

What is the code doing here , can some please explain.Is it to allow some popup for "Authentication'" where we select Allow or deny for login
<apex:outputPanel rendered="
{!NOT(ISPICKVAL($User.UserType,'Guest')) }">
<script> window.location.href = "./"; </script> </apex:outputPanel>
{!NOT(ISPICKVAL($User.UserType,'Guest')) }">
<script> window.location.href = "./"; </script> </apex:outputPanel>
You are rendering the output panel when the value selected in the user type picklist is other than the 'Guest'.
That means this output panel will run only when the user type picklist have value other then Guest.
Coming inside there is a script.
Basically, window.location.href this is used to get the URL of the current page.
If this helped you please mark it as the best answer.
Thank you!
Regards
Suraj Tripathi.