PowerApps User() function – cache current user OnStart
The User() function currently gets called by your app every time it is used. This can cause you app to slow down, or expressions with User() to not work at all. The quick answer is to cache the current user in a global variable when the app starts.