This Microsoft PowerApps video tutorial we discuss the User() function and how it is not telling you the full truth by returning the User Principle Name (UPN or Login Name) when you are expecting the email address when you call User().Email!
We show you how to get around this and also a neat trick how to store all related user info into one variable in a nested\hierarchical way.
This is the formula we are using in app onstart:
Set(
varUser,
{
myProfile: Office365Users.MyProfileV2(),
directReports: Office365Users.DirectReportsV2(User().Email),
myManager: Office365Users.ManagerV2(User().Email)
}
)
Негізгі бет PowerApps User() function & Office365Users
Пікірлер: 38