function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Moritz MuellerMoritz Mueller 

incorrect evaluation assignment?

I've the following evaluation assignment in one of our apex classes; 
boolean isInternalUser = !'Support Site Guest User'.equals(userinfo.getName());

I tried using different values for 'Support Site Guest User' but I'm just not sure where that expression is being defined? 

Based on the boolean assigment decisions are made such as;
if (isInternalUser)
			email = UserInfo.getUserEmail();

Can anyone help pointing me in the right direction? 

This is for a public knowledge, community cloud 'forcecommunity:availableForAllPageTypes'

Thanks
Best Answer chosen by Moritz Mueller
Moritz MuellerMoritz Mueller
Figured it out, it's the users profile name.