User tag sales force

Ok so in such case application configuration should be refreshing almost instantly (there is API url for that case as well for SaaS and Managed version → via cluster active gate of Dynatrace). In such case you should check @Radoslaw S. suggestion and past this in browser console on page where you are trying to extract user name:

document.querySelector(".profile-link-label");

If you will receive value you need without problems it has to work as well for application in DT. If you will receive null, it means that this will not work because of page specification.

Sebastian