I observed a strange behaviour that I don't find in documentation or, is the first time that i get out this behaviour.
I created a simple formula field on user,
Profile_name__c (formula field of type string with formula =
the strange behaviour is that I get different values depending on whether I access the formula field by api, or by standard salesforce interface (GUI).
Using the standard user interface I get the field set to "System Administrator". When I access the field via APEX or workbench I get as value "PT1".
I don't understand if is an issue, or some new behaviour introduced by Salesoforce with the last release. I'm missing something...
Can someone give me a hint, to understand if is an issue or a standard behaviour?