You need to sign in to do that
Don't have an account?
Moritz Mueller
incorrect evaluation assignment?
I've the following evaluation assignment in one of our apex classes;
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;
Can anyone help pointing me in the right direction?
This is for a public knowledge, community cloud 'forcecommunity:availableForAllPageTypes'
Thanks
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 Mueller
Figured it out, it's the users profile name.